Programming Examples
Php code to set the time zone for india
PHP Code to Set Time Zone for India
date_default_timezone_set('Asia/Kolkata');
$timestamp = date("Y-m-d H:i:s");
Output
PHP Code to Set Time Zone for India
date_default_timezone_set('Asia/Kolkata');
$timestamp = date("Y-m-d H:i:s");
Output