If you need to change the default time zone while managing your hosting, you can easily do so in a few steps.
In order to change the time zone for the site, add the following line to the .htaccess
file, which is in the root directory of your site:
php_value date.timezone "Region/Zone"
You can also specify the time zone using php.ini
For php.ini the line will be as follows:
date.timezone = "Region/Zone"
List of time zones for the timezone setting:
Africa/Cairo
Africa/Casablanca
Africa/Harare
Africa/Monrovia
Africa/Nairobi
America/Bogota
America/Buenos_Aires
America/Caracas
America/Chihuahua
America/La_Paz
America/Lima
America/Mazatlan
America/Mexico_City
America/Monterrey
America/Santiago
America/Tijuana
Asia/Almaty
Asia/Baghdad
Asia/Baku
Asia/Bangkok
Asia/Chongqing
Asia/Dhaka
Asia/Hong_Kong
Asia/Irkutsk
Asia/Jakarta
Asia/Jerusalem
Asia/Kabul
Asia/Karachi
Asia/Kathmandu
Asia/Kolkata
Asia/Krasnoyarsk
Asia/Kuala_Lumpur
Asia/Kuwait
Asia/Magadan
Asia/Muscat
Asia/Novosibirsk
Asia/Riyadh
Asia/Seoul
Asia/Singapore
Asia/Taipei
Asia/Tashkent
Asia/Tbilisi
Asia/Tehran
Asia/Tokyo
Asia/Ulaanbaatar
Asia/Urumqi
Asia/Vladivostok
Asia/Yakutsk
Asia/Yekaterinburg
Asia/Yerevan
Atlantic/Azores
Atlantic/Cape_Verde
Atlantic/Stanley
Australia/Adelaide
Australia/Brisbane
Australia/Canberra
Australia/Darwin
Australia/Hobart
Australia/Melbourne
Australia/Perth
Australia/Sydney
Canada/Atlantic
Canada/Newfoundland
Canada/Saskatchewan
Europe/Amsterdam
Europe/Athens
Europe/Belgrade
Europe/Berlin
Europe/Bratislava
Europe/Brussels
Europe/Bucharest
Europe/Budapest
Europe/Copenhagen
Europe/Dublin
Europe/Helsinki
Europe/Istanbul
Europe/Kiev
Europe/Lisbon
Europe/Ljubljana
Europe/London
Europe/Madrid
Europe/Minsk
Europe/Moscow
Europe/Paris
Europe/Prague
Europe/Riga
Europe/Rome
Europe/Sarajevo
Europe/Skopje
Europe/Sofia
Europe/Stockholm
Europe/Tallinn
Europe/Vienna
Europe/Vilnius
Europe/Volgograd
Europe/Warsaw
Europe/Zagreb
Greenland
Pacific/Auckland
Pacific/Fiji
Pacific/Guam
Pacific/Midway
Pacific/Port_Moresby
US/Alaska
US/Arizona
US/Central
US/Eastern
US/East-Indiana
US/Hawaii
US/Mountain
US/Pacific
US/Samoa