[ create a new paste ] login | about

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

PHP, pasted on Apr 26:
1
2
3
4
5
<?php
    echo date('F Y', strtotime('Tue May 01 00:00:00 +1000 2012'));
    date_default_timezone_set('Australia/Queensland');
    echo date('F Y', strtotime('Tue May 01 00:00:00 +1000 2012'));
?>


Output:
1
April 2012May 2012


Create a new paste based on this one


Comments: