How SAS Stores Time Values

SAS stores time values similar to the way it stores date values. A SAS time value is stored as the number of seconds since midnight.
SAS Calculation of Time Values
Display that shows how SAS calculates time values.
A SAS datetime is a special value that combines both date and time information. A SAS datetime value is stored as the number of seconds between midnight on January 1, 1960, and a given date and time.
SAS Calculation of Date and Time Values
Display that shows how SAS calculates date and time values.

Get SAS Certification Prep Guide: Base Programming for SAS 9, Third 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.