L’API Usage nécessite un DateStamp indiquant la date de la modification. Cette date est en temps universel (UTC).
Voici comment récupérer la date courante UTC dans différents langages de programmation :
PHP
gmdate(DATE_ISO8601)
C#
DateTime.UtcNow.ToString("u")
Java
java.time.Instant.toString()
Ruby on rails
Time.now.utc.iso8601
Javascript
new Date().toISOString()