Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Year 2000- 2 digit year entry
Message
De
03/01/1998 17:24:21
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00068469
Message ID:
00069269
Vues:
56
>Fox sees 02/29/00 as 02/29/1900 and that is an invlaid date. there is nothing y >ou can do about this (except for the solution that will be published in FoxPr o >Advisor in the March issue and will become public domain after that from Chri st >of 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 tw o >digit year. We'd better check for this '19' business. I think... and I have thought wrong. I thought that the century was taken from the current year (system date), so I tried to set it to 2000 and got set cent on ?{01.01.00} 01.01.1900 ....which is pretty stupid of Fox (I'm talking VFP 5.0). I couldn't believe they've hardcoded the century. So we'll really have to Set Century Rollover Beethoven...

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform