I'm using DB(sql) to store date. while displaying in php page date format is showing incorrectly and I want to change it to DD-MM-YYYY fromat Currently it is showing as "02/07-14"
DB:
last_download_date (Name) -> datetime (Type)
Code in website
<tr>
<td>Last Downloaded Date</td>
<td>{if $last_download_date eq ""}Not downloaded yet.{else}{$last_download_date}{/if}</td>
</tr>