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

[REBOL] Re: ANN: subtract-dates

From: brett:codeconscious at: 8-Jun-2003 12:23

Further to my last post - for fun - a more concise version for View 1.2.1 users: timediff: func [ "Subract one date from another returning time between them." a [date!] b [date!] ] [ add a/date - b/date * 24:00:00 subtract any [a/time 00:00:00] any [b/time 00:00:00] ] --Brett