Date: Tue, 24 May 2005 10:53:22 -0400
Reply-To: Kevin Roland Viel <kviel@EMORY.EDU>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Kevin Roland Viel <kviel@EMORY.EDU>
Subject: Re: Question on Proc SQL
Content-Type: TEXT/PLAIN; charset=US-ASCII
> But I have a question in regards to the difference
> (and it maybe a nave question) but would you know why the difference
Our concept of years of age typically mean the number of times something
reach the month and day of its birth in the cycle of years. The
discrepancy results from the integer representation of an approximation.
Some years have 366 days and some have 365. Since (approximately) every
four years has 366, we say that, on average, a year is 365.25. Not every
fourth year has 366, for instance 1900.
The YRDIF() function, will correctly divide by 366 or 365 as appropriate.
Department of Epidemiology
Rollins School of Public Health
Atlanta, GA 30322