Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Y2K testing problem?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00182427
Message ID:
00182454
Views:
12
>Hi Bruce,
>In VFP 5.0, I find that you have to explicitly set the default century. I use this in my startup code:
>
>SET CENT TO VAL(LEFT(ALLT(STR(YEAR(DATE()))), 2))

Thanks Mark -- I was suspecting I might need something like that. Startup is a good idea, in case I actually have one of the Y2K-police looking over my shoulder, to make sure I don't cheat. This way they won't know I'm cheating :)
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform