Difference between revisions of "UTC Format"
From LongJump Support Wiki
imported>Aeric |
imported>Aeric (→Times) |
||
Line 11: | Line 11: | ||
: <tt>13:14:15Z</tt> | : <tt>13:14:15Z</tt> | ||
That format contains 2-digits for the hour (13), based on a 24-hour clock, followed by two digits for minutes (14), and two digits for seconds (15), separated by colons (<tt>HH:mm:ss</tt>). | That format contains 2-digits for the hour (13), based on a 24-hour clock, followed by two digits for minutes (14), and two digits for seconds (15), separated by colons (<tt>HH:mm:ss</tt>). | ||
The final character in | ;Considerations: | ||
:* Although the standard allows for milliseconds, the platform does not use them or accept them. | |||
:* The final character in the format designates the time zone, where <tt>Z</tt> is "zero-time", or Greenwich Mean Time. | |||
:* Times should be expressed with the UTC designator ‘Z’. It should not be expressed using a timezone offset. | |||
===Date/Times=== | ===Date/Times=== |
Latest revision as of 21:56, 15 August 2012
UTC is a standard date and time format.
Dates
A date in UTC format looks like this:
- 2010-11-12
That format contains a four-digit year, a 2-digit month, and a 2-digit day, separated by hyphens (yyyy-MM-dd).
Times
A time in UTC format looks like this:
- 13:14:15Z
That format contains 2-digits for the hour (13), based on a 24-hour clock, followed by two digits for minutes (14), and two digits for seconds (15), separated by colons (HH:mm:ss).
- Considerations
-
- Although the standard allows for milliseconds, the platform does not use them or accept them.
- The final character in the format designates the time zone, where Z is "zero-time", or Greenwich Mean Time.
- Times should be expressed with the UTC designator ‘Z’. It should not be expressed using a timezone offset.
Date/Times
A date/time looks like this:
- 2010-11-12T13:14:15Z
That format contains a date and a time, separated by the letter "T".
Learn More
- UTC: W3C Note on Date and Time Formats
- List of Time Zones: http://en.wikipedia.org/wiki/List_of_time_zones_by_country