Writes the date from a SAS datetime value using the ISO 8601 extended
notation yyyy-mm-dd.
Category: |
Date and Time
|
|
ISO
8601
|
Alignment: |
left
|
Alias: |
IS8601DN
|
Time Zone Format: |
No
|
ISO 8601 Element: |
5.2.1.1 Complete representation
|
- w
-
specifies the width of the input field.
Default: |
10 |
Requirement: |
The width of the input field must
be 10. |
The E8601DN formats writes the date in the ISO 8601 extended
date notation yyyy-mm-dd:
yyyy |
is a four-digit year, such as 2008. |
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. |
put edn e8601dn.;
Value for edn |
Results |
1537113180
|
2008-09-15
|
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.