OK so this question is REALLY gonna show my neewbie-ness. At the moment I have a variable $date that holds the value of a the date of a business meeting I get from a database. Currently it outputs the date in "YYYY-MM-DD" format when I type:
echo "<td>$date</td>";
but I'd much rather have it the other way around DD-MM-YYYY. I'm sure there is a very easy way of doing this, but when I try the date() function I get the date 1970 (something to do with the UNIX timestamp)
Can anyone help?