Reads date and time values of SHR records.
Category: | Date and Time |
input begin: $hex16.; y=input(begin, shrstamp8.);
Data Line 1
|
Result
|
---|---|
----+----1----+----2 |
|
0110239F12403576 |
1598532035.8 |
1The data line is a hexadecimal representation of a packed decimal date and time value that is stored as it would appear in an SHR record. Each byte occupies one column of the input field. The result is a SAS datetime value that corresponds to August. 27, 2010 12:40:36. |