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

Date Difference in Weeks

Status
Not open for further replies.

threadgills

Technical User
May 29, 2003
34
0
0
US
I'm trying to get the number of weeks between 7/2/1997 and 6/8/2004. The code i'm using is what I found here in the forums:

Using DateDiff("ww", 07/02/1997, 06/08/2004) gives me 0.

Any help is appreciated.

 
Access needs date fields identified. Try:

DateDiff("ww", #07/02/1997#, #06/08/2004#)

HTH,
Bob [morning]
 
I had just finished doing that when I checked the post and that was it! Thank you :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top