UTC time values specify
a time and a time zone based on the zero meridian in Greenwich, England.
The E8601TZ informat reads UTC time values that are specified in one
of the following ISO 8601 extended notations:
-
hh:mm:ss+|–hh:mm.<ffffff>
-
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.
ffffff
are optional fractional
seconds, with a precision of up to six digits, where each digit is
between 0 and 9.
+|–hh:mm
is an hour and minute
signed offset from zero meridian. Note that the offset must be +|–hh:mm (that
is, + or – and five characters).
Use the + for time
zones east of the zero meridian, and use the – for time zones
west of the zero meridian.
Restriction:
The shorter form +|–hh is
not supported.
Z
indicates zero meridian
or +00:00 UTC time.
When SAS reads a UTC
time by using the E8601TZ informat and the adjusted time is greater
than 24:00:00 or less than 00:00:00, SAS adjusts the value so that
the time is between 00:00:00 and 24:00:00. For example, if SAS reads
the UTC time 23:43:44–05:00 by using the E8601TZ informat,
SAS adds five hours to the time so that the value is 28:43:44, and
then makes the time adjustment. The value stored represents the time
04:43:44+00:00.