UTC Format

From LongJump Support Wiki
Revision as of 21:56, 15 August 2012 by imported>Aeric (→‎Times)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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