Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: How to...? Convert Date of Birth to Age

From: nitsch-lists:netcologne at: 3-Jul-2002 1:49

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