[ create a new paste ] login | about

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

PHP, pasted on Oct 1:
1
2
<?php
echo date('Y-m-d', strtotime('last day of previous month'));


Output:
1
1970-01-01


Create a new paste based on this one


Comments: