UTC values specify a
time and a time zone based on the zero meridian in Greenwich, England.
The E8601DZ format writes SAS datetime values by using one of the
following ISO 8601 extended datetime notations:
-
yyyy-mm-ddThh:mm:ss+00:00
Note: Use this form when w is
large enough to support this time zone notation.
-
yyyy-mm-ddThh:mm:ssZ
Note: Use this form when w is
not large enough to support the +00:00 time zone notation.
mm
is a two-digit month
(zero padded) between 01 and 12.
dd
is a two-digit day
of the month (zero padded) between 01 and 31.
hh
is a two-digit hour
(zero padded) between 00 and 24.
mm
is a two-digit minute
(zero padded) between 00 and 59.
ss
is a two-digit second
(zero padded) between 00 and 59.
+00:00
indicates that the
time is for zero meridian (Greenwich, England) time.
An ISO 8601 time or
datetime value that specifies a time zone offset is adjusted by the
number of hours and minutes that is specified in the offset and processed
as the time or datetime for the zero meridian (Greenwich, England).
The E8601DZ format always writes the datetime value by using the zero
meridian offset value of +00:00.
To write a datetime
that uses the UTC offset other than +00:00, see E8601LZw. Format.
Restriction: The
shorter form +00 is not supported.
Z
indicates that the
time is for zero meridian (Greenwich, England) or +00:00 UTC time.
Z is used when the width of the format does not support the +00:00
notation.