Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Action time
Message
 
 
To
02/01/2003 14:08:41
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00737184
Message ID:
00737476
Views:
24
Juan Carlos,

You are right the code is SET HOURS TO 24 dependent, I run that as default and I forget about specifying that.

>
>lcOldSetHours = SET("HOURS")
>SET HOURS TO 24
>lnStart = datetime()
>=inkey(2)
>lnElapsed = datetime() - lnStart
>lcElapsed = ttoc( DATETIME(2001,1,1) + lnElapsed , 2 )
>Messagebox( "Your operation done in " + lcElapsed + " seconds!" )
>SET HOURS TO &lcOldSetHours
>
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform