Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding days to a date
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00749774
Message ID:
00749849
Vues:
17
>Quick question:
>
>If I have a date (mm/dd/yyyy)... say 11/20/2003 and I want to add 24 days to it what would that code look like? I've tried it a number of ways but I'm not having any luck.
>
>The date is in Date format, the number of days is just entered into a textbox.
>
>Thanks!

To add to Caroline's reply... you might want to look at the gomonth() function as well.

?GOMONTH(DATE(),1)
Wayne Myers, MCSD
Senior Consultant
Forte' Incorporated
"The only things you can take to heaven are those which you give away" Author Unknown
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform