I have a date field in a mysql database which I am trying to display in a .php document. it currently displays in yyyy-mm-dd when I insert the following code:
<?php echo $row_rs_dealItem['dateend']; ?>
However I would like it to display in dd-mm-yyyy
I need the simplest/cleanest solution.
thanks!
I would use DateTime class