query to tell number of months between two dates

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

is there a way to tell the number of months between 2 dates
for example

Date 1 Date 2
3/1/2006 11/1/2007 = 20 mos
 
Dear DLB:

Please see the help for the DateDiff function.

Tom Ellison
 
DateDiff("m",#3/1/2006#,#11/1/2007#)

or

DateDiff("m",[Date 1],[Date 2]#)
 

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

Similar Threads

Excel Help with dates 2
Current Date in Query 12
calculate two dates 1
Retieve last dates in a query 2
Date Brackets as an IIf statement 3
Get month between non calendar dates 3
Previous Month Query 5
Help with small result type 2

Back
Top