<< if daysOld < 0 then
put abs(daysOld) into daysOld
subtract 1 from monthsOld
end if
This worked for the dates I tried; however I see now it is not always correct: someone born on January 31, 2004 would show an age of 29 days on February 2, 2004 instead of 2 days.
Let me see what it takes to deal with this... --
Rob Cozens CCW, Serendipity Software Company http://www.oenolog.net/who.htm
"And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee."
from "The Triple Foole" by John Donne (1572-1631) _______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
