Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Y2K revisited
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Y2K revisited
Divers
Thread ID:
00313641
Message ID:
00313641
Vues:
78
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform