[Mapserver-users] Class logical expression - date comparison

Daniel Morissette morissette at dmsolutions.ca
Wed Dec 4 11:26:59 PST 2002


Nelson Luna Silvestre wrote:
> 
> Well, I think that I'll have to add a long integer field on my shapefiles
> and fill it with the number of days counted from 1-1-1900 to the date in
> question - it's not a bright solution but will do.
> 

Simply storing the date in a numeric field in the format YYYYMMDD would
work as well (e.g. 20021204) and would allow you to use the numeric
operators.

-- 
------------------------------------------------------------
 Daniel Morissette               morissette at dmsolutions.ca
 DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------



More information about the MapServer-users mailing list