Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Time portion of datetime
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00986853
Message ID:
00986854
Views:
36
>Ok so I had fallen away from the faithful "happens when one is less than a MERE MORTAL"
>
>Now that I'm trying to become mortal again, can someone who has already "become" tell me how to gracefully capture the time portion of the datetime field? Using the CDateTextBox I don't see a way to easily do that. Seems clunky to force the user to space or move to the beginning of the time portion. And if you press the shortcut keys the time evaporates alltogether.

? Ttoc(Datetime(), 2)

{Edit}Oops, sorry, I read the message too fast, missed the UI part of the question
"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
Reply
Map
View

Click here to load this message in the networking platform