Age calculation script
Roger.E.Eller at sealedair.com
Roger.E.Eller at sealedair.com
Sat Sep 9 14:16:07 EDT 2006
>> 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
>>
> Hmmmm, my version seems to work fine. Maybe I did a typo or something
in
> building the message to the list.
...
> here is the fresh version of the script I am using.
> See if it makes a difference
Jim,
The "fresh" version results in: days old = 36500 years old = 99 exact years old = 99.975342 next Bday
= 9 days from now
for ANY date that has a year earlier than 1970. I tried it in 2.6.1 and
2.7.3. I am using Rev in Windows 2000. I even tried changing the
centuryCutoff... same results.
Roger Eller <roger.e.eller at sealedair.com>
More information about the use-livecode
mailing list