3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $yesterday = date('Y-m-d', strtotime('yesterday')); $dateFrom = $yesterday . ' 00:00:00'; $dateTo = $yesterday . ' 23:59:59'; echo $dateFrom; echo "\n"; echo $dateTo;