[ create a new paste ] login | about

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

PHP, pasted on Oct 1:
1
2
<?php
echo date('Y-m-d',strtotime('-1 second',strtotime(date('m').'/01/'.date('Y'))));


Output:
1
2012-09-30


Create a new paste based on this one


Comments: