Server/mail time  Print this Article

Can I Change the Server Clock or Time Zone?

The server clock is set to Pacific Time (PST/PDT). 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 or by editing the .htaccess file.

Change Time Zone with PHP Script

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

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

Change Time Zone in .htaccess File

If you do not code the .htaccess file correctly, it can cause website errors.

You can set the time zone in .htaccess as well by creating a new file and naming it.htaccess or by editing the existing .htaccess file. The .htaccess file belongs in/public_html/ (or a subdirectory if for a subdomain or addon domain).

Add the line:

SetEnv TZ America/Indianapolis

A list of supported time zones can be found at the following link:


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.

SquirrelMail

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.

 

Horde

To change time zones in Horde:

  1. Access Horde.
  2. Click the Options icon at the top of the page.
  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 Options.

 

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 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/2010

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 timecheck 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 which is controlled by your operating system settings rather than Ionblade'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.

Was this answer helpful?

Related Articles

Why didn't my email get delivered, where did my email go, email problems, email bounce, or email daemon?
Using cpanel, Technical Analysts will get asked these questions many times. Unfortunately there...
ICANN Domain Ownership Verification Email
Changes that have occurred within the Registrars Accreditation Agreement (RAA- Registrar...
How to test your website on Ionblade's server with your computers "hosts" file
Why Change the Hosts File? Changing your hosts file is a temporary measure to preview your...