Hi,
No matter what I do, this doesn't seem to work properly:
// format date
list($year, $month, $day) = split('-', $row['dob']);
$date = mktime(0, 0, 0, $month, $day, $year);
$dob = date("dS M Y", $date);
No matter what date $row['dob'] equals, it always $dob always end up equalling: "31st Dec 1969"
$row['dob'] is in the format of yyyy-mm-dd
I'm guessing it has something to do with the mktime part, but I have used it in similar situations in the past and never had this trouble
Thanks for any help
~Oni.