Information générale
Titre:
Not good - Y2K and SET CENTURY
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement