Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CTOD() Totally un-Y2K...
Message
De
03/01/2000 14:59:10
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Titre:
CTOD() Totally un-Y2K...
Divers
Thread ID:
00311837
Message ID:
00311837
Vues:
79
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".
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform