View Full Version : Previous 12 months


IanT
03-20-2002, 01:48 AM
Between DateSerial(Year(Date()),Month(Date())-1,1) And DateSerial(Year(Date()),Month(Date()),0)

I am using the above to select the preceding 12 months data, but it does not show the current months details, can this be adapted to do this!

Harry
03-20-2002, 01:55 AM
How about >DateAdd("m",-12,Date())?

ColinEssex
03-20-2002, 02:44 AM
or perhaps

Between Now()-365 and Now()

Col

Ken Grubb
03-20-2002, 09:56 AM
Between DateSerial(Year(Date())-1,Month(Date()),Day(Date())) And Now()

[This message has been edited by Ken Grubb (edited 03-20-2002).]