Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
That's a smiley way to start your day
Message
De
29/02/2000 13:23:30
 
 
À
29/02/2000 13:20:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00339259
Message ID:
00339289
Vues:
17
>Michel,
>
>>>dRenewDate = GOMONTH(dExpireDate,12)
>>
>>As I replied to Fred, it returns Feb 28 and not March 1. Since there isn't a 29 next year, isn't suppose to return March 1?
>
>Try this:
newdate=IIF(RIGHT(DTOS(olddate),4)="0229", ;
>gomonth(olddate,12)+1, ;
>gomonth(olddate,12))
That'll do it.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform