Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php subtract seconds from datetime

echo date("Y-m-d H:i:s", strtotime($date) - 600);
//2014-03-16 17:30:27
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #subtract #seconds #datetime
ADD COMMENT
Topic
Name
8+5 =