Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DATE BUG ????
Message
De
14/02/2000 12:12:07
 
 
À
14/02/2000 10:26:20
Amit Abhangrao
Charmi Software Exports
Mumbai, Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00329861
Message ID:
00331774
Vues:
18
>I am already doing SET DATE <> respectively. please run the code and check.
>
>>As Jim has said, THIS IS NOT A BUG! VFP interprets date literals based on the value of SET DATE. If you have SET DATE AMERICAN then what is inside the {} must correspond to American date formats, namely MM/DD/YYYY. If you have SET DATE BRITISH then what is inside the {} must correspond to British date formats, namely DD/MM/YYYY. This also applies to CTOD - the string must be in the format that corresponds to SET DATE.
>>

It doesn't matter what you SET DATE to in your code, it is whatever the current setting of it is when you COMPILE the code that matters to the constant!
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform