Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Making CTOD() work in Europe
Message
 
 
À
21/11/2018 18:53:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01663465
Message ID:
01663663
Vues:
54
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform