Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CTOD() Totally un-Y2K...
Message
De
03/01/2000 19:36:25
 
 
À
03/01/2000 14:59:10
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00311837
Message ID:
00312051
Vues:
24
Am I missing something, isn't today January 3, not January 1, regardless of the year/century. Is it possible that your computer thinks today's date is 01/01/1900 and FPW2.6 is just reporting that?

>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform