` Comment on an Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Add a comment to an Icetips Article

Please 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!

Your Name:  
Email:  
Header text/Subject:  

Please enter your comment in the box below:

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

Par2: Stardate
2001-01-16 -- Greg Bailey
 
Use a REAL variable. StarDate real( 15, 8 ) CurrentDate long CurrentTime long code StarDate = today() + clock() / 8640000 StarDate now contains both date and time in same variable. To get date out use the int() function or just CurrentDate = StarDate To get the time out is a little more complicated. CurrentTime = (StarDate - int( StarDate ) ) * 8640000


Today is November 21, 2024, 6:47 am
This article has been viewed 35304 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: