Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Y2K testing problem?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00182427
Message ID:
00182454
Vues:
11
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform