> ## Documentation Index
> Fetch the complete documentation index at: https://kb.stablepoint.com/llms.txt
> Use this file to discover all available pages before exploring further.

# How to change your timezone in cPanel

If timestamps in your applications are off by a few hours, the PHP timezone likely doesn't match your local timezone. You can change it in cPanel.

## Changing the timezone via MultiPHP INI Editor

1. Log in to cPanel.
2. In the **Software** section, click **MultiPHP INI Editor**.
3. Select your domain from the dropdown.
4. Switch to **Editor Mode** (the raw editor).
5. Add or update this line:

```text theme={null}
date.timezone = "Europe/London"
```

6. Save.

Replace Europe/London with your timezone from the official list: [https://www.php.net/manual/en/timezones.php](https://www.php.net/manual/en/timezones.php).

## Changing the timezone via PHP Selector

If your server uses the CloudLinux PHP Selector:

1. In cPanel, click **Select PHP Version**.
2. Click **Options**.
3. Find **date.timezone** and set your timezone.

## Verifying

Create a file called tz.php in your document root:

```php theme={null}
<?php
echo date_default_timezone_get() . ' — ' . date('Y-m-d H:i:s');
```

Visit yourdomain.com/tz.php — it should show your timezone and the correct current time. Delete the file afterwards.

<Note>
  Applications may have their own timezone settings that override PHP's — WordPress (Settings → General), for example. Set both for consistent behavior. For more background, see [Setting timezones in PHP](/web-hosting/performance/setting-timezones-in-php).
</Note>
