[ create a new paste ] login | about

Link: http://codepad.org/1JGItTG7    [ raw code | output | fork ]

PHP, pasted on Sep 18:
1
2
3
<?php
$dt = new DateTime('Wed Sep 10 2013 00:00:00 GMT-0500 (EST)');
echo $dt->format('Y-m-d');


Output:
1
2013-09-11


Create a new paste based on this one


Comments: