Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Not good - Y2K and SET CENTURY
Message
De
28/07/1998 01:10:15
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Not good - Y2K and SET CENTURY
Divers
Thread ID:
00121875
Message ID:
00121875
Vues:
52
I thought Microsoft had this problem licked in VFP 5.0!

BUT...

Like a lot of software houses, we display all dates with 2 digits for the year (saves data entry).

So we have placed SET CENTURY TO 19 ROLLOVER 60 in our base class.

This works as advertised except that entering a year of 00 (which is correctly converted to 2000) displays 20 as the year instead of 00 i.e. the first 2 digits, not the last 2 digits are displayed for all date fields.

Entering 98 correctly displays 98 as the year, not 19!

Any suggestions from the experts out there? This does not seem to listed as a bug with Microsoft.

Over to you....
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform