The SAS interval functions INTNX and INTCK perform calculations with date, datetime values, and time intervals. They can be used for calendar calculations with SAS date values, to count time intervals ...
Dates and times converted to SAS date and datetime values in this manner may be used more easily in numeric calculations, and there is no ambiguity as to which century a SAS date or datetime value is ...