Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP6 - Strict Date Question
Message
From
08/09/1998 23:26:00
Bruce Gilmour
Cal-Mour Consultants
Calgary, Alberta, Canada
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00131961
Message ID:
00134326
Views:
13
Hi George. Got curious so checked behaviour of ROLLOVER in next century. From 2000 on (at least to 2005) it appears to do the equivlaent of adding 50 to the last two digits of the year which seems to be correct behaviour. Just in case anyone cares.

>Hidy Robert,
>
>What you're seeing is the default behavior in 6.0. The rollover clause automatically sets itself to the current year minus 50 (less, of course, the the century portion). So when you enter any 2 digit as as less than 48, it rolls over into the 21st century. In VFP 5.0, the default setting was zero.
***************************
Bruce Gilmour

"Two things are infinite, the Universe and human stupidity. And I am not sure about the Universe."
- Albert Einstein
Previous
Reply
Map
View

Click here to load this message in the networking platform