B8601TMw.d Format

Writes time values by using the ISO 8601 basic notation hhmmss<ffff>.

Categories: Date and Time
ISO 8601
Alignment: Left
Restriction: UTC time zone offset values are not supported.
Interaction: When the DECIMALCONV= system option is set to STDIEEE, the output that is written using this format might differ slightly from previous releases. For more information, see DECIMALCONV= System Option in SAS System Options: Reference.
Supports: ISO 8601 Element 5.3.1.1, complete representation

Syntax

B8601TMw.d

Syntax Description

w

specifies the width of the output field.

Default 8
Range 6–15

d

specifies the number of digits to the right of the seconds value that represents a fraction of a second. This argument is optional.

Default 0
Range 0–6

Details

The B8601TM format writes SAS time values by using the ISO 8601 basic time notation hhmmss<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.

Example

put btm b8601tm.;
Value of btm
Result
57180
155300