Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Time display
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01574527
Message ID:
01574529
Views:
88
This message has been marked as a message which has helped to the initial question of the thread.
>Hi everybody,
>
>I am wondering how can I display datetime value using
>
>mm/dd/yyyy hh:mm:ss format where hours are in 24 format? Using transform(datetime()) returns date with AM/PM settings. Also, I may want to display it just up to hh:mm (no seconds).
>
>Any ideas?
>
>Thanks in advance.

What about:
? Transform(Ttoc(Datetime(), 3), '####/##/## ##:##')
?
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform