` Printed Icetips Article

Icetips Article



Par2: Stardates (crossing midnight)
2004-12-09 -- Greg Bailey
 
TotalTime real( 14.8 )

everything to the left of the decimal point is days.  Everything to the
right is hours/minutes/seconds

BeginTime       = today() + clock() / 8640000
EndTime         = today() + clock() / 8640000

ElapsedTime     = EndTime - BeginTime

As you can see you can span days with this method.  To get information out.

Days = int( ElaspedTime )
ClockTime       = ( ElapsedTime - int( ElapsedTime ) ) * 8640000



Printed April 28, 2024, 11:19 pm
This article has been viewed/printed 35116 times.