3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $ts_end_of_lock = strtotime('-2 days 00:00:00'); // Притормозим на 30 дней echo date('Y-m-d H:i:s', $ts_end_of_lock);
based on DuAtm
Output for 4.3.0 - 7.2.0
2015-03-16 00:00:00