Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CTOD() Totally un-Y2K...
Message
De
04/01/2000 03:11:57
 
 
À
03/01/2000 21:26:40
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00311837
Message ID:
00312196
Vues:
23
>I screwed that up .... I meant 01/03.
>
>However, I just realized that this scenario is ALSO true for VFP5!
>
>SET CENTURY OFF
>ld_date = CTOD(DTOC(DATE()))
>SET CENTURY ON
>
>ld_date READS AS 01/03/1900!!!!!!

Just add a SET CENTURY TO 20 before you convert the date.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform