Converting between Date and Datetime in SAS
In SAS, fields are either character of varying length, or numeric. No exceptions. Temporal values such as Date and Date/Time are stored as either the number of days or seconds since 1960 January 1st. In order to convert from Date/Time to Date, and from Date to Date/Time, you could divide or multiply respectively by 86400 [...]


