Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Year 2018 to 1918 Date Math
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
00995917
Message ID:
00995930
Vues:
24
This message has been marked as the solution to the initial question of the thread.
There're simpler ways
dob = DATE(YEAR(dob)-100, MONTH(dob), DAY(dob))
* Even simpler
dob = GOMONT(dob, -100*12)
>a = dob
>Set date LONG
>? Ctod( Alltrim(Str(Month(a)))+"/" + Alltrim(Str(Day(a))) + "/" + Alltrim(Str(Year(a) - 100)))
>
>dob = a
>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform