Login
`
Templates, Tools and Utilities
|
||
Add a comment to an Icetips ArticlePlease add your comments to this article.
Please note that you must provide both a name and a valid email address in order
for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!
Back to article list Search Articles Add Comment Printer friendly Direct link 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
Today is November 21, 2024, 7:00 am This article has been viewed 35213 times.
|
|