Sunday, May 5, 2024
No menu items!
HomeData Analytics and VisualizationHow to Calculate Difference Between Dates in SAS

How to Calculate Difference Between Dates in SAS

The INTCK function in SAS can be used to calculate the difference between two dates in SAS.

The syntax of INTCK function is as follows:

INTCK(interval, start date, end data, method)

interval: Interval to calculate (day, week, month, quarter, year etc.)
start date: Starting SAS date
end date: Ending SAS date
method: This is optional argument. Intervals are counted using either a discrete or a continuous method. ‘D’ for discrete (Default), ‘C’ for continuous.)

To read this article in full, please click here

Read MoreListenData

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments