Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Extracting time from datetime
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00715147
Message ID:
00715514
Views:
9
How about this?

ltNow = DATETIME() && or whatever
? STRTRAN(TRANSFORM(ltNow),TRANSFORM(ttod(ltNow)))



>I read extract as substract... I guess, others gave you result you were looking for :)
>
>>>>I'm surprised not to find a function to extract time from datetime field. Is there one?
>>>>
>>>>Alex
>>>
>>>??datetime() - dtot(date())
>>
>>Interesting. That gives seconds since midnight.
>>
>>Alex
The whole problem with the world is that fools and fanatics are always so certain of themselves, but wiser people so full of doubts. - Bertrand Russell
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform