UTC values specify a
time based on the zero meridian in Greenwich, England. Using this
format, SAS converts a time value to the UTC value and determines
the user local time by using the value of the TIMEZONE= system option.
If the TIMEZONE= option is not set, the user local time is based on
the local time. The E8601TX format writes SAS datetime values by
using the following ISO 8601 basic time 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.
+|–hh:mm
is an hour and minute
signed offset from zero meridian time. The offset must be +|–hhmm (that
is, + or – and four characters).
Use + for time zones
east of the zero meridian, and use – for time zones west of
the zero meridian. For example, +0200 indicates a two-hour time difference
to the east of the zero meridian, and –0600 indicates a six-hour
time difference to the west of the zero meridian.
Restriction: The
shorter form +|-hh is not supported.
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 000000 and 240000. If the E8601TX 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.