SAS 4GL Timestamp Converter

Convert SAS timestamp (seconds or days since 1960) to human-readable date


SAS is a programming language used for statistical analysis.

Convert Datetime

A SAS 4GL datetime timestamp is the number of seconds since January 1, 1960 at midnight GMT. The difference between this timestamp and the Unix epoch (1/1/1970) is 315619200 seconds.

The current SAS datetime timestamp is  1970798295

Convert Date

The SAS datestamp represents the number of days since January 1, 1960.

The current SAS datestamp is 22810

 

Enter your SAS date or datetime below: