Can I Change the Server Clock or Time Zone?

The server clock is set to Central Standard Time (CST). While you cannot change the time on a shared server's clock, you can change the time zone which is 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 being displayed by using a PHP script. Here are two sample codes:


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.


To change time zones in SquirrelMail:

  1. Access SquirrelMail.
  2. Click Options link at the top of the page.
  3. Click the Personal Information link.
  4. Under Timezone Options, from the Your Current Timezone drop-down, select your preferred time zone.
  5. Click Submit.


To change time zones in Horde:

  1. Access Horde.
  2. Click the Gear icon at the top of the page, then click Preferences.
  3. Under Your Information, click the Locale and Time link.
  4. Under Your current time zone, select your preferred time zone from the drop-down menu.
  5. Click Save.


To change time zones in RoundCube:

  1. Access RoundCube.
  2. Click the Settings icon in the top-right corner of the page.
  3. Select 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.

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 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.


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


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.