Professional Documents
Culture Documents
DATE Formats and Informats
DATE Formats and Informats
The following table correlates tasks with various SAS System language elements that
are available for working with time and date data.
DAYw. 14686 17
DDMMYYBw. 14686 17 03 00
EURDFDNw. 14686 5
JULDAYw. 14686 77
MMDDYYBw. 14686 03 17 00
MONTH. 14686 3
QTRw. 14686 1
QTRRw. 14686 I
WEEKDAYw. 14686 6
Date Tasks
Note:
YEARCUTOFF=192
0
DATE9. 17MAR2000 14686
00,00,00
HOUR 14686 4
JULDATE 14686 0077
MINUTE 14686 4
MONTH 14686 3
QTR 14686 3
SECOND 14686 46
WEEKDAY 14686 6
'ddmmmyyyy
'
14686
Time Tasks
HOUR. 53132 15
Return the time part Time TIMEPART SAS datetime SAS time value
of a SAS datetime functions value in part of date value
value NNNNNNNNNN. in NNNNN.NN
N
Datetime Tasks
:00
Interval Tasks
The SAS System also supports international formats and informats that are equivalent
to some of the most commonly used English-language date formats and informats. For
details, see "SAS Formats" and "SAS Informats."