<?php $datetime = DateTime::createFromFormat('m/d/Y g:i a', "6/1/2013 12:23 pm"); $timestamp = $datetime->format('Y-m-d H:i:s'); var_dump($timestamp);
You have javascript disabled. You will not be able to edit any code.