Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CTOD() Totally un-Y2K...
Message
From
03/01/2000 14:59:10
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Title:
CTOD() Totally un-Y2K...
Miscellaneous
Thread ID:
00311837
Message ID:
00311837
Views:
80
Ok guys ...

I knew FoxPro wouldn't see the century 'cross-over'. I knew that if I was operating in the 1900s and put in a '00' date, FP would see it as 1900.

But I ASSUMED (silly me) that when we hit the Y2K, that FoxPro would pick up the cenutry we're in! WRONG!!!!

If you type this in with SET CENTURY OFF:

mdate = CTOD(DTOC(date()))

mdate is "01/01/1900"

Arrrgghhh!

You all probably knew this, I just assumed the people who made Fox were as smart as I. Wrong.
-- John Kiernan
"Maybe Amelia Earhart was just stealing the plane".
Next
Reply
Map
View

Click here to load this message in the networking platform