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

[REBOL] Re: Time Function

From: rchristiansen:pop:isdfa:sei-it at: 11-Dec-2000 12:49

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