Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Year 2000- 2 digit year entry
Message
 
À
01/01/1998 03:05:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00068469
Message ID:
00068821
Vues:
39
>All my applications have only 2 digit years. If SET CENT OFF, the date {29/02/00} is not accepted ( Actually, its is 29/02/2000 ). Can you suggest me some solution for this error.
>
>Rakesh
Rakesh,

Fox sees 02/29/00 as 02/29/1900 and that is an invlaid date. there is nothing you can do about this (except for the solution that will be published in FoxPro Advisor in the March issue and will become public domain after that from Christof Lange). If you are using VFP 5.0 you can use SET CENTURY TO ... ROLLOVER ..., But vesion fo fox prior to 5.0 have 19 hardcoded as teh century for any two digit year.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform