Manipulating SAS Date Values with Functions

SAS Date and Time Values

SAS includes a variety of functions that enable you to work with SAS date values. SAS stores a date value as the number of days from January 1, 1960, to a given date.
Figure 14.4 SAS Date Values
SAS Date Values
A SAS time value is stored as the number of seconds since midnight.
Figure 14.5 SAS Time Values
SAS Time Values
A SAS datetime value is stored as the number of seconds between midnight on January 1, 1960, and a given date and time.
Figure 14.6 SAS Datetime Values
SAS stores date values as ...

Get SAS Certification Prep Guide, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.