---
title: "Setting timezone and locale"
date: "2016-08-13"
category: "control-panel"
slug: "setting-timezone-and-locale"
---

Configure your account's timezone and locale settings to match your location. Changes affect terminal sessions and newly installed applications.

## Changing Timezone and Locale

In the [[logging-into-the-control-panel]], navigate to **Account** > **Settings** > **Localization** to update your timezone and locale.

Changes are inherited by [[accessing-terminal]] sessions and one-click applications installed after the adjustment. Existing PHP applications may need to be updated individually.

## Setting Timezone for PHP Applications

To override the timezone for a specific PHP application:

1. Visit **Web** > **.htaccess Manager**
2. Select the hostname to adjust. If the app resides in a subdirectory, select _Edit Subdir_.
3. Set **Personality** to `PHP`
4. Set **Directive** to `php_value`
5. Under **Value**, enter `date.timezone TIMEZONE` using an [Olson-compatible](https://en.wikipedia.org/wiki/Tz_database) timezone identifier
    - All valid timezones are listed under **Account** > **Settings** > **Localization** > **Timezone**
    - Olson format uses regional city names (e.g., `America/Los_Angeles` for PST/PDT, `Europe/London` for GMT)
6. Click **Add**
7. Click **Save Changes**

![Setting default timezone for a given PHP application within the control panel .htaccess manager.](kb-image:timezone-config-php.png)
*Setting default timezone for a given PHP application within the control panel .htaccess manager.*

### Timezone Change Not Taking Effect

If the change is not reflected in the application, the application likely sets its timezone at runtime. Check the application's own settings or documentation for timezone configuration options.

## See Also

- [List of supported timezones](http://php.net/manual/en/timezones.php) (PHP.net)
