Hi all,
I have this code:
$datedis = $row_despatch['dis_date'];
echo date("d-m-Y", strtotime($datedis));
The result is "01-01-1970".
The date stored in the SQL table is 2009-05-30 and I am trying to echo out "30-05-2009"
Can anyone see what I am doing wrong.