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

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

Tips:Calculating Exact Age with the YRDIF Function

From sasCommunity
Jump to: navigation, search

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).

....see also

....see also

Submitted By Mike Zdeb