3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $dateCur = date('m.d.y'); $dateLast = strtotime("$dateCur -1 month UTC"); echo date('d.m.Y',$dateLast);
Output for 5.1.2 - 7.1.0
01.10.2013
Output for 4.3.0 - 5.1.1
01.01.1970