[mapserver-users] Filter by date

Weisbender, Eric Weisbend at WAPA.GOV
Fri Apr 12 09:35:58 PDT 2013


Hello List

How would I FILTER a data set by the month and year ignoring the day.  An example of the field format is 1/11/2010.  I found the example below in the docs but I'm not quite sure how to format the filter to account for the slashes.  Any help is greatly appreciated.

FILTERITEM "year"
FILTER /^20[0-9][0-9]/


Thanks,
Eric

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20130412/8f87e764/attachment.html>


More information about the mapserver-users mailing list