Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Y2K revisited
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Divers
Thread ID:
00313641
Message ID:
00313645
Vues:
27
Joe,
FPW2.x will always default a '2-digit year' to 19xx. You'll need to change your code to
replace InvoiceDt with {01/05/2000}
HTH
Barbara

>This problem occurs in FPW2.6:
>
>Database has a date field, called: InvoiceDt
>
>This command string:
>set century on
>replace InvoiceDt with {01/05/00} produces: 01/05/1900
>
>While this command string:
>set century on
>replace InvoiceDt with date() produces: 01/05/2000
>
>How can I get the first input {01/05/00} to produce 01/05/2000 in the date field? Why is it defaulting to 1900, even though I have Set Century On?
>
>Regards,
>
>Joe Vles
Barbara Paltiel, Paltiel Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform