Formats |
Category: | Date and Time |
ISO 8601 | |
Alignment: | left |
Time Zone Format: | No |
ISO 8601 Element: | 5.4.4 Complete representation |
Syntax | |
Syntax Description | |
Details | |
Examples | |
See Also |
Syntax |
$N8601Bw.d |
specifies the width of the output field.
Default: | 50 |
Range: | 1 - 200 |
Requirement: | The minimum length for a duration value or a datetime value is 16. The minimum length for an interval value is 16. |
specifies the number of digits to the right of the lowest order component. This argument is optional.
Default: | 0 |
Range: | 0 - 3 |
Details |
The $N8601B format writes ISO 8601 duration, datetime, and interval values as character data for the following basic notations:
PnYnMnDTnHnMnS | |
yyyymmddThhmmss | |
PnYnMnDTnHnMnS/yyyymmddThhmmss | |
yyyymmddThhmmssT/PnYnMnDTnHnMnS |
The lowest order component can contain fractions, as in these examples:
Examples |
See Also |
Working with Dates and Times Using the ISO 8601 Basic and Extended Notations |
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.