` 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 November 23, 2024, 3:27 am
This article has been viewed/printed 35216 times.