As the first step in the decommissioning of sasCommunity.org the site has been converted to read-only mode.


Here are some tips for How to share your SAS knowledge with your professional network.


Tip of the Day:April 4

From sasCommunity
Revision as of 23:29, 3 April 2009 by Donh (Talk | contribs)

Jump to: navigation, search

sasCommunity Tip of the Day

Because of leap years, it is not possible to accurately calculate a person's colloquial age on a particular date ("Age at Last Birthday") using just simple arithmetic operations. However, SAS date functions can be employed to get a correct result. The formula is

 age = floor((intck('month',birth,somedate) - (day(somedate) < day(birth))) / 12);



Feel free to comment on this tip.


Prior tip - Next tip - Random Tip

Submit a Tip