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 Talk:Calculating Ages

From sasCommunity
Jump to: navigation, search

Reviewed with a minor edit --Art Carpenter 01:27, 16 January 2009 (EST)
Sounds good to me! --Nancy 19:23, 23 January 2009 (EST)
Looks good with minor formatting change --Donh 23:29, 23 January 2009 (EST)

For more details about SAS date calculations and functions see [1] --Statprof 22:50, 10 February 2009 (EST)

change the title

How about changing the title to "Calculating Age at Last Birthday." It is an established demographic/statistical term -- chang_y_chung 21:08, 14 January 2011 (UTC)

Chang, renaming a page in the traditional sense is not a supported by wikis. But see this discussion regarding move. --Don Henderson 22:26, 14 January 2011 (UTC)

I've placed a link to that OECD source in the narrative. Good enough, I hope.--Howles 20:43, 26 January 2011 (UTC)


in 9.3 and on, use yrdif function, instead.

  floor(yrdif(birth, somedate, "age"))

-- chang_y_chung 15:46, 14 November 2012 (EST)