Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set hours to 12|24
Message
From
12/09/2011 09:05:51
 
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Product Documentation
Miscellaneous
Thread ID:
01523209
Message ID:
01523219
Views:
55
>Return value of dateime() is not affected by SET HOURS or other date/time related SET commands. It would a bug if it was
>
>>
>>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?

Sergey,

I agree with Naomi, the Helpfile says explicit the value returned by DATETIME( ) is determined by the current SET HOURS setting. More important how can I get a 12 hour notation or am I forced to make a function?

Regards,

Koen
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform