>> now/date - 1-jul-2002 == 1 >> now/date - 1-jun-2002 == 31 totalDaysElapsed: now/date - 1-Jan-1980 ; days since 1-Jan-1980 == 8218
years: a / 365 == 22.5150684931507 yearRemainder: (b - 22) * 365; == 188 months: c / 30 == 6.26666666666668 monthRemainder: d - 6 == 0.266666666666679 days: (d - 6) * 30 == 8.00000000000037 22 years, 6 months, 8 days, and some change. ----- Original Message ----- From: "Ammon Johnson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 02, 2002 5:25 AM Subject: [REBOL] Re: How to...? Convert Date of Birth to Age > Hi, > > I was going to say, > > >>now/date - 1-Jan-1980 > == 8218 > > What? Come again? How does [now/date - 1-Jan-1980] come up with 8218? > > Any Ideas? > Ammon > > > > A short time ago, Andrew Martin, sent an email stating: > > Using Rebol (of course!), how would I convert a date of birth to an age in > > years, months and days? > > > > Andrew Martin > > ICQ: 26227169 http://valley.150m.com/ > > -><- > -- > To unsubscribe from this list, please send an email to > [EMAIL PROTECTED] with "unsubscribe" in the > subject, without the quotes. > -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
