3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $todaytime = date("Y-m-d H:i:s",date("d")-1); echo $todaytime;
Output for 4.3.0 - 7.2.0
1970-01-01 01:00:27