Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding days to a date
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00749774
Message ID:
00749849
Views:
14
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform