Snipplr - sarathannapareddy
http://snipplr.com/users/sarathannapareddy/tags/INTCK
Recent snippets posted on Snipplr.comen-usWed, 27 May 2015 15:51:13 GMT(SAS) How to calculate number of years and number of days between 2 dates;
http://snipplr.com/view/18283/how-to-calculate-number-of-years-and-number-of-days-between-2-dates/
Exploring the yrdif and datdif functions in SAS as well as INTCK function:
There are several ways to calculate the number of years between two dates and out of all the methods, YRDIF function results the most accurate value.
Syntax:
ageinyrs = YRDIF(birthdate, enddate, 'act/act');
ag_indays = DATDIF(birthdate, enddate, 'act/act');
Read more at: http://studysas.blogspot.com/2009/03/how-to-calculate-number-of-years-and.html ]]>Thu, 13 Aug 2009 17:15:50 GMThttp://snipplr.com/view/18283/how-to-calculate-number-of-years-and-number-of-days-between-2-dates/(SAS) How To calculate Number of Days between two dates/ Calculating Age
http://snipplr.com/view/13598/how-to-calculate-number-of-days-between-two-dates-calculating-age/
Exploring the yrdif and datdif functions in SAS as well as INTCK function:
There are several ways to calculate the number of years between two dates and out of all the methods, YRDIF function results the most accurate value. ]]>Mon, 30 Mar 2009 20:44:01 GMThttp://snipplr.com/view/13598/how-to-calculate-number-of-days-between-two-dates-calculating-age/