From: Clifford Heath Date: 2007-03-15T01:50:04+09:00 Subject: Re: Calculating the age given DOB Brian Adkins wrote: > Clifford Heath wrote: >> Brian Adkins wrote: >>> (DateTime.now - birthdate) / 365.25 > Do you mind if I ask why you make the statement, "That's not very > reliable." ? I have written genealogy software, and sometimes I want to know how old someone was on a given date, like when they married. 1900 was not a leap year, as I'm sure you know. Neither was 1800 or 1700, but 1600 was. Does that make more sense now? If I write a "library function" like this, I like to be a stickler, because it's usually myself that gets tripped up.