Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Making CTOD() work in Europe
Message
 
 
To
21/11/2018 18:53:08
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01663465
Message ID:
01663663
Views:
53
>>Hi,
>>
>>As a way to initiate a field into an empty date, Rick Hodgin suggested to replace ctod(' / / ') with {}.
>>Tamar Granor confirmed this suggestion. These two are real gurus in VFP.
>>
>>However, I am wondering, what could go wrong with ctod(' / / ')? Is there an example of how the code that follows could fail?
>>
>>replace MyField with ctod('  /  /  ')
>>
>
>Dmitry, I may be proven wrong, but I think this will only fail when you set it to fail, that is, when you SET STRICTDATE TO 2.

Thank you, Antonio. I have a great respect for your knowledge and therefore doubt that you would be proven wrong.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform