The format of timestamp
can be set to standard formats that are supported by SAS. These formats
include the following:
ABS. (Absolute seconds since Jan. 1, 1970)
DDMMYY. DDMMYY10. DDMMYYB.
DDMMYYB10. DDMMYYC. DDMMYYC10.
DDMMYYD. DDMMYYD10. DDMMYYN.
DDMMYYN10. DDMMYYP. DDMMYYP10.
DDMMYYS. DDMMYYS10.
MMDDYY. MMDDYY10. MMDDYY.
MMDDYYB10. MMDDYYC. MMDDYYC10.
MMDDYYD. MMDDYYD10. MMDDYYN.
MMDDYYN8. MMDDYYP. MMDDYYP10.
MMDDYYS. MMDDYYS10.
YYMMDD. YYMMDD10. YYMMDDB.
YYMMDDB10. YYMMDDC. YYMMDDC10.
YYMMDDD. YYMMDDD10. YYMMDDN.
YYMMDDN8. YYMMDDP. YYMMDDP10.
YYMMDDS. YYMMDDS10.
TOD. (Writes time as military time.)
TIME. (Writes time as military time.)
TIMEAMPM. (Writes time as AM and PM.)
The syntax for the OPTIONS
statement is listed below:
options stimefmt = fmt;
where
fmt is a valid SAS format.