Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I get the time only from a datetime variable?
Message
From
08/01/1999 14:35:54
 
 
To
08/01/1999 14:33:59
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00174160
Message ID:
00174161
Views:
21
>I'm trying to do something like "dtoc(datetime)" so that I can just get the time portion of the variable as a character string. I must be blind or else MS didn't put in a function to do that. Any Ideas?

? substr(ttoc(datetime()),10)
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform