Am Mittwoch, 3. Juli 2002 01:07 schrieb Andrew Martin:
> Using Rebol (of course!), how would I convert a date of birth to an age in
> years, months and days?
>
rough estimation:
birth: 1-Jan-1987 ;1-jan-2000 ;..
days: now - birth
s2k: 1-jan-2000 + days ;since-2k
print [
"since" birth ":" days "days ="
s2k/year - 2000 "years," s2k/month "month," s2k/day "days"
]
> Andrew Martin
> ICQ: 26227169 http://valley.150m.com/
> -><-
HTH!
-Volker
--
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the
subject, without the quotes.