[ create a new paste ] login | about

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

PHP, pasted on Nov 30:
1
2
3
4
5
<?php 
$data['Visitor']['timestamp']="2011-11-29 00:00:00";
echo date("F j, Y", strtotime($data['Visitor']['timestamp']));

?>


Output:
1
November 29, 2011


Create a new paste based on this one


Comments: