[Date Prev][Date Next] [Chronological] [Thread] [Top]

[Mapserver-users] Class logical expression - date comparison



On Wed, Dec 04, 2002 at 04:54:23PM -0000, Nelson Luna Silvestre wrote:
 
> I noticed that it's possible to evaluate a expression like:
> 
> ('[DATE]'='01-01-2001')
> 
> but this is a string comparison that does not takes me far enough...
 
That's not a string comparison, is a numeric comparison, try

('[DATE]' eq '01-01-2001')
 
-- 
Vinko Vrsalovic <el[|-@-|]vinko.cl>
http://www.cprsig.cl