How to change cPanel date time zone

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.

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

date.timezone = "Africa/Nairobi"

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

Was this answer helpful?

 Print this Article

Also Read

How do I create a backup of my website?

How can I back up my web site? It’s important that you know what you’re backing up first. If...


cPanel Demo - Demo -...

How to setup environment for Ruby on Rails application

You can setup your environment for your Ruby on Rails application in cPanel in the following way:...

How To Install and Uninstall FrontPage Extensions

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

Our official partners