php subtract seconds from datetime

61

php subtract seconds from datetime -

echo date("Y-m-d H:i:s", strtotime($date) - 600);
//2014-03-16 17:30:27

Comments

Submit
0 Comments