Reads time and date fields of RMF records.
Category: | Date and Time |
input begin: $hex16.; y=input(begin, rmfstamp8.);
Data Line 1
|
Result
|
---|---|
----+----1----+----2 |
|
0142225F2612200F |
80550512545 |
1The data line is a hexadecimal representation of a binary time and date value that is stored in packed decimal form as it would appear in an RMF record. Each byte occupies one column of the input field. The result is a SAS datetime value that corresponds to July 18, 2012, 2:22.25 PM. |