title: Cakephp Date format output
body: <p>I'm trying to display the date in DMY format and database is stored as YMD format. how can I change into DMY format? If I've to use form helper how to I exactly use to display?
  This is my code for display.</p>
  
  <pre><code>    &lt;?php
  $i = 0;
  foreach ($jobtasks as $jobtask):
      $class = null;
      if ($i++ % 2 == 0) {
          $class = ' class="altrow"';
      }
  ?&gt;
      &lt;table&gt;&lt;tr&gt;
      &lt;td&gt;&lt;?php echo $jobtask['Jobtask']['date']; ?&gt;&amp;nbsp;&lt;/td&gt;
     &lt;/tr&gt;
  </code></pre>