Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Not good - Y2K and SET CENTURY
Message
From
28/07/1998 01:10:15
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Not good - Y2K and SET CENTURY
Miscellaneous
Thread ID:
00121875
Message ID:
00121875
Views:
51
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....
Next
Reply
Map
View

Click here to load this message in the networking platform