TeresePamela
Programmer
I need to be able to manipulate dates in the following way:
Add x number of months to a given date and have the results precise enough that if I add 3months to 30-Nov-2003, the result is 29-Feb-2004, If I add 3 months to 30-Nov-2002, the result is 28-Feb-2003. Also if I add 30 days to 28-Feb-3004, the result is 29-Mar-2004 and adding 30 days to 28-Feb-2002 would result in 30-Mar-2002.
This would be done background, probably from a button in a form; (in VFP I would run it in a program by simply stating: newdate = GOMONTH(today, 3), but VFP is being phased out of the company).
I am using Access 2000 running on Windows 2000.
Thanks in advance for any and all help.
Add x number of months to a given date and have the results precise enough that if I add 3months to 30-Nov-2003, the result is 29-Feb-2004, If I add 3 months to 30-Nov-2002, the result is 28-Feb-2003. Also if I add 30 days to 28-Feb-3004, the result is 29-Mar-2004 and adding 30 days to 28-Feb-2002 would result in 30-Mar-2002.
This would be done background, probably from a button in a form; (in VFP I would run it in a program by simply stating: newdate = GOMONTH(today, 3), but VFP is being phased out of the company).
I am using Access 2000 running on Windows 2000.
Thanks in advance for any and all help.