Quantcast
Channel: ListenData
Viewing all articles
Browse latest Browse all 97

How to Calculate Difference Between Dates in SAS

$
0
0

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

Viewing all articles
Browse latest Browse all 97

Trending Articles