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:
00430576
Vues:
12
>Close, but no cigar. GOMONTH(DATE(2000, 2, 29), 12) returns 02/28/2001. This returns 3/1/2001.

Hmmmm, so you're going to side with GoMonth on this one, huh? :-)

I think it makes more sense to go to 3/1. If we use logic, isn't:

"A year after 2/29"

equal to:

"A year and a day after the day before 2/29"

?
That would be 2/29 sometimes, 3/1 others :-)

The real problem is trying to go multiple years with teh 366, 365 thing.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform