Age calculation script

Roger.E.Eller at sealedair.com Roger.E.Eller at sealedair.com
Sat Sep 9 13:21:42 EDT 2006


On 9/9/06 12:03 PM, "Jim Ault" <JimAultWins at yahoo.com> wrote:
> Here is my version using the approach of 'dateitems'
> This rendition *should* do things correctly and accommodate leap years. 
It
> will also calculate days till next birthday.

It appears that any birth year before 1970 results in an incorrect 
calculation.  Entering 5/18/65, the result is:  days old = 54750   years old = 149   exact years old = 149.945205   next 
Bday = 20 days from now

Roger Eller <roger.e.eller at sealedair.com>




More information about the use-livecode mailing list