DateTime
Tags specified as type DateTime accept a fully formatted date/time/time zone string. For example, “1996-10-05T13:22:00.124-5:00” represents October 5, 1996, at 1:22 and 124 milliseconds p.m., in Eastern Standard Time. This is the same as 6:22 p.m. Coordinated Universal Time (UTC).
Several portions of a DateTime element are optional. The following table describes the optional components and the meaning if they are absent.
Component | Meaning If Absent |
---|---|
±HH:mm (time zone offset) |
+00:00 (UTC) |
THH:mm:ss.ffffff±HH:mm (time component) |
T00:00:00+00:00 (midnight, UTC) |
:ss.ffffff (seconds and fractional seconds) |
:00.000000 (zero seconds) |
.ffffff (fractional seconds) |
.000000 (zero fractional seconds) |
Note: Time zones are specified by an offset, which defines the time
zone. Valid offset values are in the range from -12:59 to +12:59,
and the sign is required.