<?php $date = "2/7/2013"; echo (date("Ymd", strtotime($date))) . "\n"; $date = new DateTime($date); echo $date->format('Y-m-d H:i:sP') . "\n";
You have javascript disabled. You will not be able to edit any code.