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