<?php function format_date($date) { return date('d-M-y', strtotime($date)); } $dt = "04/07/14"; echo format_date($dt);
You have javascript disabled. You will not be able to edit any code.