Hi all,
I am using the following code to convert 1963-11-10 from mysql to 10/11/1963
$dob = $datarow['dateofbirth'];
list($year, $month, $day) = explode('-', $dob);
$usedob = date("d/m/Y", mktime(0, 0, 0, $month, $day, $year));
But when it is viewed on screen, it displays the date as 31/12/1969.
I am also displaying many other dates of births using this code on the same page which are displaying perfectly fine.
Any suggestions why or how to fix?
Quick response would be great!
Regards
K