- var_dump: documentation ( source)
- getdate: documentation ( source)
- strtotime: documentation ( source)
<?php
//$writer = new XMLWriter();
echo var_dump(getdate(strtotime("1 days")));
//echo date("Y-m-t", strtotime("2013-2"));
//echo date("Y-m-t", strtotime("first day of previous month") ) ;