3v4l.org

run code in 300+ PHP versions simultaneously
<?php $that_day = "1407050129"; $that_day_first_min = strtotime(date('Y-m-d', $that_day) . ' midnight'); // Test: echo date('Y-m-d H:i:s', $that_day_first_min);

preferences:
29.91 ms | 405 KiB | 5 Q