DAYS DIFFERENCE

Accepted Solution Solved
Reply
Super Contributor
Posts: 1,040
Accepted Solution

DAYS DIFFERENCE

Hi ,

This is a follow up question to the previous SAS DATE question.

can we also use intck to calculate the difference in the days between the two dates????

difference_days=intck('day', date1, date2);

can I use like above??????

Thanks


Accepted Solutions
Solution
‎10-09-2014 04:46 PM
Esteemed Advisor
Posts: 7,293

Re: DAYS DIFFERENCE

Simply subtracting two dates gives you the number of days.

View solution in original post


All Replies
Solution
‎10-09-2014 04:46 PM
Esteemed Advisor
Posts: 7,293

Re: DAYS DIFFERENCE

Simply subtracting two dates gives you the number of days.

SAS Employee
Posts: 416

Re: DAYS DIFFERENCE

Hello -

If you need more advanced functionality, check out the DATDIF Function(http://support.sas.com/documentation/cdl/en/lefunctionsref/63354/HTML/default/viewer.htm#p1gz65986b9...).

Thanks,

Udo

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

Discussion stats
  • 2 replies
  • 166 views
  • 3 likes
  • 3 in conversation