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

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

From: al::bri::xtra::co::nz at: 3-Jul-2002 11:07

Librarian comment

Recent versions of REBOL allow difference to work on dates, giving a result in hours:

 >> (difference 2003-12-31 2001-1-1) / 24
 == 1094:00
 
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/