Hi,

I am trying to return results based on the month of a date field, Is this
possible.
I know I can do ranges using the field:[date TO date] but now I have a
requirement to return records based on just the month part of a date

so if I have record with these dates and search on the May/05

<date name="*effDate_tdt*">2011-05-01T00:00:00Z</date>
<date name="*effDate_tdt*">2006-05-01T00:00:00Z</date>
<date name="*effDate_tdt*">2004-05-01T00:00:00Z</date>
<date name="*effDate_tdt*">1995-07-01T00:00:00Z</date>

the query would only return these

<date name="*effDate_tdt*">2011-05-017T00:00:00Z</date>
<date name="*effDate_tdt*">2006-05-30T00:00:00Z</date>
<date name="*effDate_tdt*">2004-05-03T00:00:00Z</date>

Reply via email to