hi I can not figure out how to format a date in PHP. I have a form where a user will enter 01/10/2011 15:00 I have a php script which is calling the date $date = $_POST["date"]; I then can call this no problem, but I want to format the date to 01102011PM I have tried $date = $_POST["date"]; $booking = date('ddmmyyy',$date); But this comes back 01011970 Please could someone assist?