SAS stores dates and times as numeric variables, specifically as the number of days since January 1, 1960 for dates, and seconds since midnight for times. This allows date and time arithmetic to be performed as numeric calculations. They are stored as numbers but displayed using formats.