php subtract seconds from datetime

Solutions on MaxInterview for php subtract seconds from datetime by the best coders in the world

showing results for - "php subtract seconds from datetime"
Emil
17 Nov 2016
1echo date("Y-m-d H:i:s", strtotime($date) - 600);
2//2014-03-16 17:30:27
3