[mapserver-users] Comparaison date

Lime, Steve D (DNR) Steve.Lime at state.mn.us
Mon Jan 21 14:30:51 PST 2013


Filters are passed to the underlying driver and use the syntax of that driver if supported, otherwise they use MapServer expression syntax . Class expressions use the MapServer expression syntax only. There's actually very little reason to use FILTERs when using an RDMS driver, just add it to the DATA statement.

Steve

________________________________________
From: mapserver-users-bounces at lists.osgeo.org [mapserver-users-bounces at lists.osgeo.org] on behalf of codelf [nicolasdelffon at gmail.com]
Sent: Monday, January 21, 2013 1:24 PM
To: mapserver-users at lists.osgeo.org
Subject: Re: [mapserver-users] Comparaison date

Hi!
Same problem here. I use this one : DATEDIFF(DD,[DAT_MEASURE],GETDATE()) <
90
In the mapfile, it works in FILTER but not in EXPRESIONN inside a CLASS...
Any idea?
Thx



--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Comparaison-date-tp4336613p5028807.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users




More information about the mapserver-users mailing list