[ create a new paste ] login | about

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

PHP, pasted on Aug 19:
1
2
3
<?php
echo date('d F Y', strtotime("31 January 2011 +1 month")), "\n";
echo date('d F Y', strtotime("31 February 2011"));


Output:
1
2
03 March 2011
03 March 2011


Create a new paste based on this one


Comments: