Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

add 2years

Status
Not open for further replies.

adhhealth

Programmer
Jul 1, 2004
165
US
I print "printdate" on my report and I have to print another date which should be "printdate" + 2years. How can we do this?
 
Hi,

You can use the dateadd function
DateAdd("yyyy", 1, printdate)
 
Create a new formula field.

In the formula field, use the formula that lisa posted above, except use a 2 instead of a 1.

DateAdd("yyyy", 2, printdate)

I assume that was just a typo on her part. You get more info on the DateAdd function in the help files.

~Brian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top