` 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 April 27, 2024, 10:23 pm
This article has been viewed 35115 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: