Fining the difference in the month.

Locopete99

Registered User.
Local time
Today, 05:17
Joined
Jul 11, 2016
Messages
163
Hi Guys,

Is there a way I can make a query for the following:

Criteria
Month([end date]) - Month([Today])=3
 
Not too sure what you are asking here.

Do you want a query to return records where the difference between [EndDate] and today is 3 months? if so the DateDiff() function should help with this.
 
thanks I'll give that a try
 
Maybe something like this:

Months: DateDiff("m",[DateFieldName],[End Date])

Change "m" to "d" for days
Put +1 or -1 at end for day adjustment of calculation
 

Users who are viewing this thread

Back
Top Bottom