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

# Setting Date_Timezone for PHP (Cpanel)

If your account is hosted either on **mocha4000.mochahost.com or mocha3005.mochahost.com**, please follow the steps below on how to set your **Date\\\_Timezone for PHP**:

Edit your **.htaccess** file via FTP or the File Manager within your Cpanel account.

Add the following line to the .htaccess file:

`php\_value date.timezone 'Region/Zone'`

NOTE: Replace **Region/Zone** with your own time zone.

Save the changes to the .htaccess file and exit the text editor.

A list of Supported Timezones can be found here: 

For all of our other servers, please follow the steps below:

1. Login to your CPanel.

![](https://tutorials.my-virtual-panel.com/php_timezone/1_php_timezone.png)

2. Under the **SOFTWARE** section, choose **Select PHP Version**.

![](https://tutorials.my-virtual-panel.com/php_timezone/2_php_timezone.png)

3. Click on **Switch To PHP Options**.

![](https://tutorials.my-virtual-panel.com/php_timezone/3_php_timezone.png)

4. Under the **date.timezone, type your time\\\_zone** in the tab and click **Apply**.

![](https://tutorials.my-virtual-panel.com/php_timezone/4_php_timezone.png)

5. Once done, click **Save** to save your changes.

![](https://tutorials.my-virtual-panel.com/php_timezone/5_php_timezone.png)
