This site is mobile accessible. Press the "Tap Here" button to use a different font-size.


Smartphone icons created by Freepik - Flaticon

The PHP Date() Function

Create a Date From a String With strtotime()

Created date is 2014-04-15 10:30:00 pm

<?php
$d=strtotime("10:30pm April 15 2014");
echo "<p>Created date is " . date("Y-m-d h:i:s a", $d) . "</p>";
?>