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.
<?php
$i = 0;
foreach ($jobtasks as $jobtask):
$class = null;
if ($i++ % 2 == 0) {
$class = class="altrow" ;
}
?>
<table><tr>
<td><?php echo $jobtask[ Jobtask ][ date ]; ?> </td>
</tr>