Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CTOD of DTOS
Message
From
22/11/2011 17:25:15
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01529606
Message ID:
01529617
Views:
65
>>Is there a function in VFP to turn the results of DTOS(date()) back to a date type ? ( I know how to parse the string and write a function, just wanted to make sure I wasn't forgetting something obvious )
>>
>>TIA
>
>?CTOD(TRANSFORM(m.lcdtoS, '@R ^9999-99-99'))
Very cool. Thanks Naomi. Glad I asked.


Charles Hankey

Though a good deal is too strange to be believed, nothing is too strange to have happened.
- Thomas Hardy

Half the harm that is done in this world is due to people who want to feel important. They don't mean to do harm-- but the harm does not interest them. Or they do not see it, or they justify it because they are absorbed in the endless struggle to think well of themselves.

-- T. S. Eliot
Democracy is two wolves and a sheep voting on what to have for lunch.
Liberty is a well-armed sheep contesting the vote.
- Ben Franklin

Pardon him, Theodotus. He is a barbarian, and thinks that the customs of his tribe and island are the laws of nature.
Previous
Reply
Map
View

Click here to load this message in the networking platform