Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get hour value return in 12 hour format ?
Message
From
22/04/1999 03:31:20
 
 
To
21/04/1999 11:51:38
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00210588
Message ID:
00210890
Views:
25
Try substr(ttoc(datetime()), 12,2) or something similar

>I want to get the value of hour from the system time, but i want the return value in the 12 hour fromat.
>As i know the hour(datetime()) or hour(time()) also return the 24 hour format even though use set hours to 12 .
>Any one know how to get it , thanks
>
>regard,
>chang
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform