title: Freemarker model convert timestamp in milliseconds to date
body: <p>I have a csv-file which i want to transform with fmpp (freemarker). The first column is a long value (milliseconds since 1.1.1970) which i want to convert into a date and format it as datetime. </p>
  
  <p>src format:</p>
  
  <pre><code>timeStamp,elapsed,label,responseCode,threadName,dataType,success,bytes,URL,Latency
  1319115474244,40142,Login,200,Login 1-2,text,true,862184,http://localhost:8080/xxx,5378
  </code></pre>
  
  <p>desirable target format:</p>
  
  <pre><code>timeStamp;elapsed;label;responseCode;threadName;dataType;success;bytes;URL;Latency
  20.12.2011 13:45;40142;Login;200;Login 1-2;text;true;862184;http://localhost:8080/xxx;5378
  </code></pre>
  
  <p>My (running) template:</p>
  
  <pre><code>&lt;#list csv.headers as h&gt;${h}&lt;#if h_has_next&gt;;&lt;/#if&gt;&lt;/#list&gt;
  &lt;#list csv as row&gt;
  &lt;#list csv.headers as h&gt;&lt;#if h_index == 0&gt;Do the date magic&lt;#else&gt;${(row[h]!"N/A")?string}&lt;/#if&gt;$&lt;#if h_has_next&gt;;&lt;/#if&gt;&lt;/#list&gt;
  &lt;/#list&gt;
  </code></pre>
  
  <p>For column 0 I want to do the conversion. I DON'T want to write a new model which contains a date. My question is, can this be done in the template without modifying freemarker or fmpp.</p>
  
  <p>any ideas?</p>