Adding Years to a Date

G

Guest

Hi,

I wanted to add two years to a date column.
Example:
07/01/06 = 07/01/08

Does anyone know how to do this?
 
R

Rick Brandt

Jose said:
Hi,

I wanted to add two years to a date column.
Example:
07/01/06 = 07/01/08

Does anyone know how to do this?

There is a DateAdd() function.

DateAdd("yyyy", 2, [YourDateField])
 
G

Guest

Thanks Mike.

I just had finished reading the previous post when you responded.

Thank You very much

Michael H said:
Hi.

Use the DateAdd function:

DateAdd("yyyy",2,[DateField])

-Michael



Jose Aleman said:
Hi,

I wanted to add two years to a date column.
Example:
07/01/06 = 07/01/08

Does anyone know how to do this?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top