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