How to change cPanel date time zone Tanzania

You can modify different php settings for your account, including timezone, using php.ini file.
 
If you do not have it yet, please refer to the guidelines below on how to add it:

  On our servers "America/New_York" timezone is set by default.


Option a

To change it o Dar es Salaam, you will need to update the following value in your php.ini file:

date.timezone = "Africa/Dar es Salaam"


Once configured, do not forget to save the changes.

If your account do not have an existing php.ini file, create a new file with the name php.ini and then place and save the above code


Option b

Create a .htaccess file and paste the following value

php_value date.timezone 'Africa/Dar es Salaam'
  • 4 Users Found This Useful
Was this answer helpful?

Related Articles

How to Create Custom Error Pages Tanzania

This tutorial will teach how to create custom Error Pages. Create error pages for 404 Not Found...

How To Install and Uninstall FrontPage Extensions Tanzania

This tutorial will show you how to install and uninstall FrontPage extensions. Please note that...

How To Set Up A Cron Job Tanzania

This tutorial is going to show you how to setup a cron job in cPanel the easy way. You can set a...

Using Index Manager Tanzania

This tutorial will teach about using the Index Manager. The Index Manager allows you to customize...

Limiting Simultaneous Connections in FileZilla Tanzania

Open FileZilla. Access the Site Manager.   Click your site, then select the Transfer...

Powered by WHMCompleteSolution