Difference between revisions of "UTC Format"

From LongJump Support Wiki
imported>Aeric
 
imported>Aeric
 
(2 intermediate revisions by the same user not shown)
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>). (The standard allows for a even finer levels of granularity, but they are not reported by or used by the platform.)
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 that format designates the time zone, where <tt>Z</tt> is "zero-time", or Greenwich Mean Time. (That format is used for all times reported by the platform.)
;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===
Line 22: Line 25:


===Learn More===  
===Learn More===  
:* UTC: http://en.wikipedia.org/wiki/Coordinated_Universal_Time
:* UTC: W3C Note on [http://www.w3.org/TR/NOTE-datetime Date and Time Formats]
:* List of Time Zones: http://en.wikipedia.org/wiki/List_of_time_zones_by_country
:* List of Time Zones: http://en.wikipedia.org/wiki/List_of_time_zones_by_country

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