How to Convert a Datetime to a SAS Date Format
https://sasexamplecode.com/how-to-convert-a-datetime-to-a-sas-date-format/
As you might know, SAS Datetime variables and Date variables are stored as the number of seconds (for Datetime) or days (for Dates) from the 1st of January, 1960. So, if you use the DATEPART function, it returns the number of days between your date and the 1st of January, 1960. For example: However, to make the results of the DATEPART function inte...
As you might know, SAS Datetime variables and Date variables are stored as the number of seconds (for Datetime) or days (for Dates) from the 1st of January, 1960. So, if you use the DATEPART function, it returns the number of days between your date and the 1st of January, 1960. For example: However, to make the results of the DATEPART function inte...
DA: 58 PA: 88 MOZ Rank: 81