Toggle navigation
Home
Latest pastes
FAQ
Random
Register
Login
Create a date and time from the strtotime() function
SUBMITTED BY:
henry1874w
DATE:
June 17, 2017, 1:27 p.m.
FORMAT:
Text only
SIZE:
157 Bytes
Raw
Download
Tweet
HITS:
301
Go to comments
Report
<!DOCTYPE html>
<html>
<body>
<?php
$d=strtotime("10:30pm April 15 2014");
echo "Created date is " . date("Y-m-d h:i:sa", $d);
?>
</body>
</html>
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus