Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Date functions
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00190541
Message ID:
00190553
Vues:
14
Actually, it just occurred to me what you're trying to do: SET CENTURY to the century of the current date. Try this:

SET CENT TO VAL(LEFT(ALLT(STR(YEAR(DATE()))), 2))

-Works great for me!
Mark
"It hit an iceberg and it sank. Get over it."
Robert Ballard, dicoverer of the Titanic wreckage.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform