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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Date formula

Status
Not open for further replies.

pungigi

Programmer
Oct 29, 2003
115
US
I have an appt date field in a form letter, I need to use the appt date but add a "timeframe" to it, example.

This certification is good until {TAPTDT}/7-18-2004

I need it to show

This certification is good until {TAPTDT}/10-18-2004

Any help would be appreciated.

 
Use the DateSerial function. It will even adjust the year automatically.

DateSerial(Year,Month,Day)



DateSerial(year({tapdt}),Month({Tapdt})+3,Day({Tapdt})
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top