SAS Dates

intck in sas

Date Interval Functions – INTNX and INTCK in SAS

The SAS data interval functions INTNX and INTCK used to perform calculations on a date, DateTime values, and time intervals. INTNX is used to increment SAS date by a specified and INTCK function returns the number of interval boundaries between two dates, times, or DateTime values.

SAS-date

SAS date formats: How to display dates correctly?

SAS date and time are one of the important topics in SAS due to the fact that SAS date and time have unique characteristics. SAS dates are not numeric not character variable, when displayed it resembles character but it is stored as a number. SAS date begins from January 1, 1960, and has a value of 0. Prior to this date are negative numbers and those after this date are positive numbers. SAS Formats are used to display values in various formats. There is a number of different SAS date formats which you can apply and make the dates readable.

Receive the latest articles in your inbox

Insert your email signup form below

🤞 Don’t miss these tips!

We don’t spam! Read more about our privacy policy.