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

problem figuring a date minus 10 years

Status
Not open for further replies.

3Mark3

Technical User
Nov 30, 2005
48
US
I'm obviously doing this wrong..can anyone figure out how to fix my problem? Thank you!

DatePart("yyyy",[date_maturity]-10)
 
either:
Year([date_maturity])-10
or:
DateAdd("yyyy",-10,[date_maturity])

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Awesome....and a very quick response. Thank you PH!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top