You could first convert your elapsed times into the time! datatype...
>> test-time: make time! 777:45:03
== 777:45:03
>> print test-time
777:45:03
Then you will at least have a datatype! object to work with, as such...
>> print test-time/hour
777
>> print test-time/minute
45
>> print test-time/second
3
You can then discover the number of days in decimal form...
>> test-days: test-time/hour / 24
== 32.375
Just some stuff to think about
-Ryan
>
>
> 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.