UTC time values specify
a time and a time zone based on the zero meridian in Greenwich, England.
The B8601TZ format adjusts the time value to be the time at the zero
meridian and writes the time value in one of the following ISO 8601
basic time notations:
-
Note: Use this form when
w is large enough to support this time notation.
-
Note: Use this form when
w is not large enough to support the +|–
hhmm time zone notation.
is a two-digit hour
(zero padded) between 00 and 23.
is a two-digit minute
(zero padded) between 00 and 59.
is a two-digit second
(zero padded) between 00 and 59.
is an hour and minute
signed offset from zero meridian time. Note that 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.
indicates that the
time is for zero meridian (Greenwich, England) or +0000 UTC time.
When SAS reads a UTC
time by using the B8601TZ 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 B8601TZ 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.