Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Year 2000??
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00018568
Message ID:
00018574
Views:
32
>>Does anyone understand the vfp century/date system? When I go to Win 95 date/time and change the year to 2000, the vfp date() gives year 2000, which is fine. But when I type a date year to a variable (like 01/05/02), I still get year 1902. Do we know if this will change to 2002 when the century changes to 20?
>
>Yes, there is a function like ROLLOVER or something like that to tell Visual FoxPro after which year to start in the next century.

Thanks, I found it. It's a parameter to set century, like
SET CENTURY TO 19 ROLLOVER 50
will set all years = or over 50 to 19__ and all years less to 20__
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Reply
Map
View

Click here to load this message in the networking platform