A SAS datetime is the number of seconds since (or until) Jan 1, 1960. A SAS date is the number of days since (or until) Jan 1, 1960. The DATEPART function converts the datetime to a date value. Or if you simply need to format it for display purposes, or as a class variable in a SAS proc, use the DTDATE9.What is SAS data format?
SAS - Numeric Formats. SAS can handle a wide variety of numeric data formats. It uses these formats at the end of the variable names to apply a specific numeric format to the data. SAS use two kinds of numeric formats.