Search
 
SCRIPT & CODE EXAMPLE
 

PHP

php subtract seconds from datetime

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

PREVIOUS NEXT
Code Example
Php :: wp_query post count 
Php :: php date to seconds 
Php :: serialize() php 
Php :: php check if url parameter exists 
Php :: default index page for laravel in cpanel 
Php :: get only date in laravel 
Php :: get number of chars ina string php 
Php :: php remove warning 
Php :: htmlspecialchars() expects parameter 1 to be string 
Php :: php in array 
Php :: laravel php artisan make:controller in subfolder 
Php :: install php 7.4 ubuntu 
Php :: change php version in vagrant 
Php :: laravel timestamps on pivot table 
Php :: Install the php_mysql extensions 
Php :: check file selected in php 
Php :: php usort keep keys 
Php :: wordpress disable file mods 
Php :: laravel get auth user in constructor 
Php :: how to calculate days difference between two dates in php 
Php :: php array_reverse keep keys 
Php :: blade set variable 
Php :: laravel instal 
Php :: laravel migrate if not exists 
Php :: random string php 
Php :: random string in laravel 
Php :: how to create a logfile in php? 
Php :: malformed utf-8 characters possibly incorrectly encoded php 
Php :: add request data in laravel request 
Php :: laravel collection chunk 
ADD CONTENT
Topic
Content
Source link
Name
8+4 =