php subtract seconds from datetime

58

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