Answers for "php subtract seconds from datetime"

PHP
0

php subtract seconds from datetime

echo date("Y-m-d H:i:s", strtotime($date) - 600);
//2014-03-16 17:30:27
Posted by: Guest on September-28-2021

Code answers related to "php subtract seconds from datetime"

Browse Popular Code Answers by Language