[mapserver-users] date format in a template (after a GetFeatureInfo call)...

Josh Hevenor jhevenor at rogers.com
Mon Nov 23 10:50:45 EST 2009


It might not be what you're looking for, but you can define your layer as
"geom from (select a, b, c, to_char(the_date, 'format') from osTable)
using..."

Josh

Martin Ouellet wrote:
> Hi,
>
> I've got a GetFeatureInfo which return a date (in my template).  Since
> we don't control the sql statement behind the GetFeatureInfo, is there
> a way to format the date in the template?
>
> my layer retreive the data from Oracle Spatial and I received the date
> in this form: "19-NOV-09" which is Oracle default format for date...
>
>
>
> MartinOuellet
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>   
> ------------------------------------------------------------------------
>
>
> No virus found in this incoming message.
> Checked by AVG - www.avg.com 
> Version: 8.5.425 / Virus Database: 270.14.78/2521 - Release Date: 11/23/09 07:52:00
>
>   


More information about the mapserver-users mailing list