Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SET CENTURY stuff
Message
De
08/04/1999 15:53:42
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00206098
Message ID:
00206636
Vues:
25
>>2 or 4 digits on screen are not so critical as long as data integrity supported. It's not a big deal to utilize Textbox.Century property and have 4-digits for some wider (or occasional) range dates and 2-digits for dates rigidly controlled by ROLLOVER clause.
>
>Ed, I hope you are right. But in my experience with VFP 5.0b, if you enter a date with a 2 digit year and given the following:
>
>SET CENTURY OFF
>SET CENTURY TO 19 ROLLOVER 5
>Century property set to 2 - Default
>
>this is what happens. If I enter 99/02/01 and I Tab back to the field, I see 99/02/01. If I enter 00/02/01 and Tab back to the field, I see 2000/02/01. So the system forces a 4 digit year for dates >= {2000/01/01}.
>
>Do you see something different?
>
>Joe

I have MM/DD/YY, but basically I see exactly what you say.
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform