Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set hours to 12|24
Message
 
 
To
12/09/2011 08:36:24
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Product Documentation
Miscellaneous
Thread ID:
01523209
Message ID:
01523217
Views:
74
>>Hi,
>>
>>When I Set Hours to 12, datetime() is returning a time as if I had set hours to 24. How can I be sure to get a 12 hours notation?
>>
>>Regards,
>>
>>Koen
>
>
>Set Hours is scoped to the current datasession - works well over here

Does not work from the command window:
SET HOURS TO 12
?DATETIME()
SET HOURS TO 24
?DATETIME()
dt = DATETIME() + 3600 *10
?dt
SET HOURS TO 12
?dt
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform