Writes datetime values for the zero meridian Coordinated Universal Time (UTC) time by using the ISO 8601 datetime and time zone basic notation yyyymmddThhmmss+0000.
| Categories: | Date and Time |
| ISO 8601 | |
| Alignment: | Left |
| Supports: | ISO 8601 Element 5.4.1, complete representation |
put bdz b8601dz20.;
|
Datetime Value
|
Value of bdz
|
Result
|
|---|---|---|
20110915T155300+0500 |
16317031801 |
20110915T105300+0000 |
20110915T155300Z |
1631721180 |
20110915T155300+0000 |
| 1The ISO 8601 value specifies a time zone offset of five hours. When SAS read the value, the SAS datetime value was adjusted by five hours. The Result column shows the adjustment of five hours. | ||