News

The SAS interval functions INTNX and INTCK perform calculations ... is the ending date (for date intervals) or datetime value (for datetime intervals). For example, the statement NEWYEARS = ...
Note that the INTCK function counts the number of times the beginning of an interval is reached in moving from the first date to the second. It does not count the number of complete intervals between ...