I have the following date: 2010-04-19 18:31:27. I would like to convert this date to the dd/mm/yyyy format.
Try this:
$old_date = Date_create("2010-04-19 18:31:27"); $new_date = Date_format($old_date, "d/m/Y");