Im not a Rebol expert (Im just learning now)
but it seems that print (777:45:03 / 24:00:00) tells you the days
and print (777:45:03 / (24:00:00 * 7)) tells you the weeks.

I bet there's a simple line evualator for this, but I dont know :)

-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-
  "Miracles happen only to those who believe in them."
 * Visit 'The International Order of Sea-Monkey Owners' web site
 * http://roads.to/seamonkey
 * To subscribe to our monthly news, send a blank email to:
 * [EMAIL PROTECTED]

----- Original Message -----
From: Aden Burnie <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 11, 2000 10:10 AM
Subject: [REBOL] Time Function


>
> Greets All,
>
>     Im trying to write a function that calculates time elapsed (eg compare
12/12/2000,6:30:00 to 17/01/2001,12:00:00) , ive done the basic  conversion
of date/time to hours/minutes/seconds elapsed, but i cant figure out how to
turn say "777:45:03"  back into weeks / days / hours / minutes / seconds
elapsed.
>
>     help anyone?
>
>     etcha
>
> --
> 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.

Reply via email to