Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding 1 year to a date
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00430291
Message ID:
00430570
Vues:
9
>>You could use another method (other than GOMONTH() for this one), but believe me, it wouldn't be pretty. So...
>
>?iif(day(dDate + 365) < day(dDate), 366, 365) + dDate
>
>Thats not too bad.

Close, but no cigar. GOMONTH(DATE(2000, 2, 29), 12) returns 02/28/2001. This returns 3/1/2001.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform