<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3603" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=852390515-23112009>Hi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=852390515-23112009></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=852390515-23112009>How about making an Oracle view for publishing data 
through Mapserver and selecting&nbsp;date&nbsp;as TO_CHAR and control the format 
that way?</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=852390515-23112009></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=852390515-23112009>-Jukka Rahkonen-</SPAN></FONT></DIV><BR>
<BLOCKQUOTE dir=ltr 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader lang=fi dir=ltr align=left>
  <HR tabIndex=-1>
  <FONT face=Tahoma size=2>Martin Ouellet<SPAN class=852390515-23112009><FONT 
  face=Arial color=#0000ff>&nbsp; wrote:</FONT></SPAN></FONT><BR></DIV>
  <DIV></DIV>Hi,
  <DIV><BR></DIV>
  <DIV>I've got a GetFeatureInfo which return a date (in my template). 
  &nbsp;Since we don't control the sql statement behind the GetFeatureInfo, is 
  there a way to format the date in the template?</DIV>
  <DIV><BR></DIV>
  <DIV>my layer retreive the data from Oracle Spatial and I received the date in 
  this form: "<SPAN class=Apple-style-span 
  style="FONT-FAMILY: monospace; WHITE-SPACE: pre">19-NOV-09" <SPAN 
  class=Apple-style-span style="FONT-FAMILY: arial; WHITE-SPACE: normal">which 
  is Oracle default format for date...</SPAN></SPAN></DIV>
  <DIV><FONT class=Apple-style-span face=monospace><SPAN class=Apple-style-span 
  style="WHITE-SPACE: pre"><BR></SPAN></FONT></DIV>
  <DIV><FONT class=Apple-style-span face=monospace><SPAN class=Apple-style-span 
  style="WHITE-SPACE: pre"><BR></SPAN></FONT></DIV>
  <DIV>MartinOuellet</DIV>
  <DIV><BR></DIV></BLOCKQUOTE></BODY></HTML>