3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo date("Y-m-d H:i:s", strtotime("-30 days", strtotime(date("Y-m-d 00:00:00"))));
Output for 4.3.0 - 7.1.0
2013-05-29 00:00:00