Search
 
SCRIPT & CODE EXAMPLE
 

PHP

default time zone india php

date_default_timezone_set('Asia/Kolkata');
$timestamp = date("Y-m-d H:i:s");
Comment

asia time zone in php

<?php
date_default_timezone_set("Asia/Calcutta");   //India time (GMT+5:30)
echo date('d-m-Y H:i:s');
?>
Comment

PREVIOUS NEXT
Code Example
Php :: using js variable in php 
Php :: php echo html as text 
Php :: 419 unknown status 
Php :: how get all files name in one folder in laravel 
Php :: the configuration file now needs a secret passphrase (blowfish_secret) 
Php :: livewire pagination bootstrap 
Php :: php decode html special characters 
Php :: wordpress disable errors 
Php :: php artisan migrate nothing to migrate 
Php :: laravel get public path url 
Php :: laravel validation unique email 
Php :: get current month record in laravel 
Php :: laravel migration remove unique constraint 
Php :: set character set utf8 in pdo php 
Php :: laravel if request has 
Php :: magento 2 status mode 
Php :: php get string between two strings 
Php :: laravel get all vendor files 
Php :: php delete a folder 
Php :: how to add property to the request object in laravel 
Php :: php color echo 
Php :: wordpress check if page 
Php :: laravel json response decode 
Php :: debug query in moodle 
Php :: composer symfony/var-dumper 
Php :: upgrade php 7.3 centos 7 
Php :: php get number from string 
Php :: laravel gigapay get single invoice 
Php :: not required a field when checked not applicable checkbox in laravel 
Php :: php function argument spicific types array check 
ADD CONTENT
Topic
Content
Source link
Name
5+6 =