UTC time values specify
a time and a time zone based on the zero meridian in Greenwich, England.
The E8601TZ format writes time values in one of the following ISO
8601 extended time notations:
-
hh:mm:ss<.fff>+|–hh:mm
Note: Use this form when w is
large enough to support this time zone notation.
-
hh:mm:ssZ
Note: Use this form when w is
not large enough to support the +|–hh:mm time
zone notation.
hh
is a two-digit hour
(zero padded) between 00 and 23.
mm
is a two-digit minute
(zero padded) between 00 and 59.
ss
is a two-digit second
(zero padded) between 00 and 59.
fff
are optional fractional
seconds.
+|–hh:mm
is an hour and minute
signed offset from zero meridian time. The offset must be +|–hh:mm (that
is, + or – and five characters).
Restriction: The
shorter form +|–hh is
not supported.
Use + for time zones
east of the zero meridian, and use – for time zones west of
the zero meridian. For example, +02:00 indicates a two-hour time difference
to the east of the zero meridian, and –06:00 indicates a six-
hour time difference to the west of the zero meridian.
Z
indicates zero meridian
(Greenwich, England) or +00:00 UTC time.
When SAS reads a UTC
time by using the E8601TZ informat, and the adjusted time is greater
than 24 hours or less than 00 hours, SAS adjusts the value so that
the time is between 00:00:00 and 24:00:00. If the E8601TZ format attempts
to format a time outside of this time range, the time is formatted
with asterisks to indicate that the value is out of range.