Disclosure: Hosting Canada is community-supported. We may earn a commission when you make a purchase through one of our links. Learn more.

Setting server timezone

Use the below code to set the date timezone of web servers, for example for EST time zone (Eastern Standard Time).

SetEnv TZ America/Indianapolis

Make use of the below code for example for Pacific Time or time of Los Angeles.

SetEnv TZ America/Los_Angeles

Example of other locations includes:

America/Indianapolis - Eastern Standard Time (Indiana, most locations)
America/Indiana/Knox - Eastern Standard Time (Indiana, Starke County)
America/Chicago - Central Time
America/Denver - Mountain Time
America/Detroit - Eastern Time - Michigan (most locations)
America/Boise - Mountain Time (South Idaho, East Oregon)
America/Phoenix - Mountain Standard Time (Arizona)
America/Anchorage - Alaska Time
America/Yakutat - Alaska Time (Alaska panhandle neck)
America/Adak - Aleutian Islands
America/Detroit - Eastern Time - Michigan (most locations)
America/Indianapolis - Eastern Standard Time (Indiana, most locations)
America/Indiana/Knox - Eastern Standard Time (Indiana, Starke County)
America/Chicago - Central Time
America/Denver - Mountain Time
America/Shiprock - Mountain Time (Navajo)
America/Los_Angeles - Pacific Time
America/Juneau - Alaska Time (Alaska panhandle)
Pacific/Honolulu – Hawaii
America/Nome - Alaska Time (west Alaska)

It’s better to reach your system administrator to get more instruction on European and other timezones.