I want to convert a date by the following statement
$date=date(\'d M Y, H:m\',strtotime($date));
It printed out 09 Sep 2012, 11:09
09 Sep 2012, 11:09
Valid formats for strtotime are detailed here.
strtotime