Search
 
SCRIPT & CODE EXAMPLE
 

PHP

get 2 hrs before data in php

//set timezone
date_default_timezone_set('Asia/Kolkata');

//set an date and time to work with
$start = '2014-06-01 14:00:00';
echo date('Y-m-d H:i',strtotime('+1 hour +20 minutes',strtotime($start)));
Comment

PREVIOUS NEXT
Code Example
Php :: php rtrim 
Php :: foreach tableau php 
Php :: wp_query start from second post 
Php :: to list all relations of model laravel 
Php :: how to back the page laravel where the scorll is 
Php :: check mobile number length in php 
Php :: static variable php 
Php :: octobercms mail register 
Php :: php version not update after windows env file 
Php :: add class to row laravel 
Php :: tinker laravel 8 
Php :: You need to grant write permissions for PHP on the following directory: /var/www/html/prestashop 
Php :: php initialize two dimensional array dynamically 
Php :: phpmailer 
Php :: laravel check if model has relation 
Php :: laravel override eloquent all function 
Php :: 0 
Php :: get attachment by id wordpress 
Php :: isset in php 
Php :: How to remove from a multidimensional array all duplicate elements including the original 
Php :: php ternary string 
Php :: connect php mysql procedural way 
Php :: laravel search and return record with pagination 
Php :: how to set 1 year date without saturday in while loop php 
Php :: php slice string by character 
Php :: phpunit test only one method 
Php :: shortcode wordpress form 
Php :: laravel "query()-find" 
Php :: how to update a table based on three columns laravel 
Php :: insert javascript in php 
ADD CONTENT
Topic
Content
Source link
Name
3+1 =