3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $toto = date('Y-m-d',time() - 31*24*3600); echo $toto;
Output for 4.3.0 - 7.1.0
2014-02-01