` Stardates (crossing midnight) (Greg Bailey ) - Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Icetips Article

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, 3:48 am
This article has been viewed 35212 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: