Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
call dostime(current_time)
/*
Suppose current_time returns 60616.3580. This 
This translates to 4:50:16 p.m. with .3580 remainder, calculated as follows:
 
4 p.m. = 16 * 60 * 60 = 57600 seconds, remainder 3016 seconds
50 minutes = 3000 seconds, remainder 16 seconds
 
The accuracy of the .3580 remainder depends on the operating system,  
and probably should not be relied on beyond 1/10 of a second. 
*/