Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Year 2000- 2 digit year entry
Message
 
To
01/01/1998 03:05:27
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00068469
Message ID:
00068821
Views:
49
>All my applications have only 2 digit years. If SET CENT OFF, the date {29/02/00} is not accepted ( Actually, its is 29/02/2000 ). Can you suggest me some solution for this error.
>
>Rakesh
Rakesh,

Fox sees 02/29/00 as 02/29/1900 and that is an invlaid date. there is nothing you can do about this (except for the solution that will be published in FoxPro Advisor in the March issue and will become public domain after that from Christof 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 two digit year.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform