Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Y2K Slap in the Face
Message
 
À
20/03/1999 14:09:12
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00199762
Message ID:
00200166
Vues:
20
>>SET CENT TO VAL(LEFT(ALLT(STR(YEAR(DATE()))), 2))
>>
>>in my startup.prg. I didn't know about the little vfp5 bug when I submitted my Y2K docs, and said that vfp5 was compliant without SET CENTURY (whoops)...
>
>Set Cent to int(year(date())/100)

You're right, that's shorter. I don't profess to being a date whiz :) I guess they're like puzzles to some of you, I see the contests to see who can get the shortest date function on the UT often :)
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