Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Formating datetime textfield
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00355743
Message ID:
00355771
Views:
21
>There is no built in function that will extract only the time part of a datetime field, AFAIK. Assuming that SET CENTURY is ON, you can build a function that will do it:

Sylvain,

In VFP 6.0, TTOC(tdatetime, 2) returns the time portion. How the time is formatted is dependent on SET SECONDS and SET HOURS.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform