Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Y2k Bug in all flavours of FoxPro
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Y2k Bug in all flavours of FoxPro
Divers
Thread ID:
00098306
Message ID:
00098306
Vues:
61
Hi,

I have just recently discovered a bug in all version of FoxPro including VFP 5. If you turn century on and type a date in an empty date field with only two digits for year and press enter, then always the 19 is added to the two digit year you entered, no matter what date is set in your PC.

For example if I type 01/01/98 then it will be converted to 01/01/1998 even if your system date is 05/04/2001 !!

I mean shouldn't it be converted to 01/01/2098

I have even try to hook the Valid event but the value you get when you get control in the Valid event is 01/01/1998

What is the opinion of you peoples, is it going to be solved in VFP 6 or do we nerds have to make some workarounds?

Regards,

Shahbaz Ahmer
Shahbaz Ahmer
Softnology Systems (Pvt) Ltd.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform