Apache .htaccess Guide, Tutorials and Articles

Apache .htaccess Guide & Tutorial >>

Setting server timezone

To set your web servers date timezone, for example for Eastern Standard Time (EST) use the following code:

SetEnv TZ America/Indianapolis

For example, for Los Angeles time (Pacific time), use the following code:

SetEnv TZ America/Los_Angeles

Other location examples include:

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

For European and other timezones it is best to contact the system administrator for further instruction.

Next Article: Changing server signature
Previous Article: Disable directory listings


"Timezone info for apache appears non-existent. I've been looking for quite a while. It's frustrating. Seriously, if you've found a document that lists them all, POST IT!"
"Why not a link to a full list of timezones? And I _am_ the system administrator of my system -- that's why I'm looking for info on setting it up! :-)"

Post Comment

Your Name:
Your Comment: