- var_dump: documentation ( source)
- mktime: documentation ( source)
- date: documentation ( source)
- strtotime: documentation ( source)
<?php
$origin = mktime(18, 0, 0, 7, 31, 2015);
var_dump( date('r', $origin), date('r', strtotime('-1 months', $origin)) );