Computing the age of a person?
Jim Sims
sims at ezpzapps.com
Thu May 14 11:04:41 EDT 2009
On May 14, 2009, at 4:39 PM, klaus at major.on-rev.com wrote:
> I could need a hint on how to compute the age of a person when I
> have the birthday.
> The "convert to seconds" and "subtract"ion part is easy, but how to
> proceed? :-)
Ok, another suggestion.
Maybe: calculate how many days that it has been from the birthday
seconds (Bday/86400) and divide by days in a year. Guess the next
worry might be Leap Years. Hmmm.
sims
In the incubator now: AppBoot
http://appboot.wordpress.com/appboot_links/
More information about the use-livecode
mailing list