Can I Change the Server Clock or Time Zone? | HostGator Support
  1. Knowledge Base
  2. >
  3. Results
  4. >
  5. Can I Change the Server Clock or Time Zone?

Can I Change the Server Clock or Time Zone?

 

The server clock follows Central Standard Time (CST), except where the United States recognizes Daylight savings time. Daylight savings time starts on the second Sunday in March and ends on the first Sunday in November; the time will be one hour ahead of central standard time.

While you cannot change the time on a shared server's clock, you can change the time zone displayed by using a PHP script.

Please remember HostGator does not offer support to code for this method, nor do we promise to make your code work. You will need to consult with a program developer for further assistance if you experience difficulty.

Change Time Zone with PHP Script

You can change the time zone displayed by using a PHP script. Here are two sample codes:

<?php
putenv("TZ=Europe/Amsterdam");
?>

 

<?php
date_default_timezone_set("America/Los_Angeles");
?>

How do I change the Timestamp on my emails?

Each webmail client has a time zone setting, which is set to the server clock by default.

RoundCube

To change time zones in RoundCube:

  1. Access RoundCube.
  2. Click the Settings icon in the top-right corner of the page.
  3. Select the Preferences tab.
  4. Under the Section column, select User Interface.
  5. Select your preferred time zone from the Time zone drop-down menu.
  6. Click Save.

SmarterMail

To change time zones in SmarterMail:

  1. Access SmarterMail.
  2. Expand My Settings.
  3. Select Account Settings.
  4. In the User tab, specify the preferred time zone.
  5. Click Save.

MailEnable

To change time zones in MailEnable:

  1. Access MailEnable.
  2. Click on Options.
  3. Select Regional Settings under General in the left-hand menu.
  4. Select the Character Set, Time Zone, and Culture in the Regional Settings section.
  5. Click Save.

Outlook 2007

You can change the time zone in Outlook at any time so that it matches your current geographic location. Please consult the Outlook Help menu for assistance with other versions.

  1. From the Tools menu, click Options.
  2. Click Calendar Options.
  3. Click Time Zone.
  4. Under the Current Time Zone, type a name for the current time zone in the Label box.
  5. In the Time zone list, select the time zone you want to use.
    Note: 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 DST.
  6. Click OK.

Thunderbird

Mozilla applications have no clocks of their own. They use your system clock controlled by your operating system settings rather than HostGator's server.

MacMail

You can set your computer's date, time, and time zone so that the date and time appear correctly in the menu bar clock, finder windows, mail, and other applications.