SAS Timestamp Converter
Convert a SAS datetime — seconds since 1960 — to a readable date and back.
UTC / GMT
Your local time
ISO 8601
Relative
Unix seconds
Unix milliseconds
Current time updating:
How it works
Conversion: unix = sas − 315619200.
Enter a value to convert it to a human-readable date, or click Use current time. Conversion is two-way and runs entirely in your browser.
Frequently asked questions
What epoch does SAS use?
SAS stores datetimes as the number of seconds since 1960-01-01 00:00:00 — 315,619,200 seconds before the Unix epoch.