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

[REBOL] Re: Refresh on the hour or run on the hour

From: greggirwin::mindspring::com at: 6-Sep-2003 10:09

Hi John, JH> However, it would be better, if it ran "on the hour" exactly, regardless of JH> when it was started. Do you mean figuring out when the next full hour occurs (i.e. how many seconds from now), something like this?
>> t: now/time
== 10:08:05
>> to integer! subtract 1:0:0 make time! reduce [0 t/minute t/second]
== 3115 -- Gregg