chpicker
Programmer
- Apr 10, 2001
- 1,316
Awhile back I saw someone asking about this, and I've spent over an hour trying to find the post again with no luck.
FoxPro has a function that will add a given number of months or years to a DATE variable. So, for example, if you take this:
The output would look like this:
Now, MonthAdd is for illustration only. FoxPro has a built-in function to do this. What is that function? I can't find it anymore!
FoxPro has a function that will add a given number of months or years to a DATE variable. So, for example, if you take this:
Code:
ldMyDate=date()
?ldMyDate
?MonthAdd(ldMyDate,5)
Code:
11/16/2001
4/16/2002