3v4l.org

run code in 200+ PHP versions simultaneously
<?php echo strtotime('Y-m-d 23:59:59'); echo date('d-m-Y H:i:s',strtotime(' - 3 day', strtotime('Y-m-d 23:59:59')));
based on hmpJe