Hire a web Developer and Designer to upgrade and boost your online presence with cutting edge Technologies

Wednesday, August 1, 2012

How to chage the server time zone in cpanel


The following article explains how to set the time and time zone in cPanel. The time zone can either be based on the location of the server (EST) or a time zone of your choosing.

To set the time and time zone, please follow these steps:

  1. Open a web browser and connect to your cPanel Control Panel located at https://ip address:2087.
  2. Login as the Administrator using the information sent to you in your setup email.
  3. From the Server Configuration menu, click Server Time.
  4. Select your time zone from the drop down list.
  5. Click Change TimeZone.
  6. Click Sync Time with Time Server to sync the time with the time zone.
On Shared Server

Can I change the server clock or time zone?

The server clock is set to Central Standard Time. You cannot change the time on a shared server's clock.
You can change the time zone being displayed with a PHP script. (Unfortunately, I cannot tell you where to put this code. You will need to consult with the program developer.) Here are two sample codes:
<?php
putenv("TZ=Europe/Amsterdam");
?>
<?php
date_default_timezone_set("America/Los_Angeles");
?>
You can set the timezone in .htaccess as well. (You can create a New File and name it ".htaccess", or you can edit the existing one. The .htaccess file belongs in /public_html/ - or a subdirectory if for a subdomain or addon domain). Add the line:
SetEnv TZ America/Indianapolis
Here is a list of supported timezones.

How do I change the timestamp on my emails?

Each webmail client has a timezone setting, which is set to the server clock by default.
SquirrelMail
  1. Go inside the webmail program and click Options at the top.
  2. Click the first link called Personal Information.
  3. Under Timezone Options, look for "Your current timezone:"
  4. Change the drop down to your time zone.
  5. Click the Submit button.
Horde
  1. Go inside the webmail program and click Options at the top.
  2. Click the second link called Locale and Time.
  3. Look for "Your current time zone:"
  4. Change the drop down to your time zone.
  5. Click the Save Options button.
RoundCube
  1. Go inside the webmail program and click Personal Settings at the top right.
  2. Under User Interface, look for "Time zone"
  3. Change the drop down to your time zone.
  4. Click the Save button.
Outlook 2007 - At any time, you can change the time zone in Outlook so that it matches your current geographic location. Please consult the Outlook Help menu for assistance with other versions.
  1. On the Tools menu, click Options.
  2. Click Calendar Options.
  3. Click Time Zone.
  4. Under Current time zone, type a name for the current time zone in the Label box.
  5. In the Time zone list, click the time zone that you want to use.
  6. If you want your computer clock to automatically adjust for daylight saving time (DST) changes, select the Adjust for daylight saving time check box. This option is available only in time zones that use daylight saving time (DST).
  7. Click OK and you are done.

No comments:

Post a Comment