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!

how to add xx years to a date

Status
Not open for further replies.

Nifrabar

Programmer
Mar 16, 2003
1,343
NL
Hi!
In my app there is a date which display a certain expiry date.
By doing a payment the expiry-date is going to be later.
Depending on what is paid that may be 1, 5 10 or 20 years.

Q: how can I add 1,5,10 or 20 years to a date? (Keeping in mind lapyears).

KR
-Bart
 
Hi!

Thanks Stella,

I have not been aware of this function which does exactly what I need.

Thread closed!

-Bar

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top