php default timezone india

php default timezone india :
You can set default timezone india as below :

Set default timezone india

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

Advertisements

Add Comment

📖 Read More