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:February 7

From sasCommunity
Jump to: navigation, search

sasCommunity Tip of the Day

As of SAS version 9.3, you can calculate an exact age using the YRDIF function. In prior versions, one had to resort to another method, Calculating Age with Only One Line of Code. This is no longer necessary since the option AGE is now available for <basis>, YRDIF(start-date,end-date,<basis>). AGE is the default if no <basis> is specified, YRDIF(start-date,end-date).


Submitted By Mike Zdeb



Feel free to comment on this tip.


Prior tip - Next tip - Random Tip

Submit a Tip