How do I change the
time zone on my
virtual server?

   Site

   Server


How to change your server's default time zone.

To change the Time Zone for your virtual server, do the following:

At a command prompt, type:

chmod 600 ~/etc/localtime

cp /usr/share/zoneinfo/posix/US/Pacific ~/etc/localtime

Here is a list of possible zones (substitute one of these instead of "Pacific" shown above):

Alaska
Central
Hawaii
Mountain
Aleutian
East-Indiana
Indiana-Starke
Pacific
Arizona
Eastern
Michigan
Samoa

If you want a European time zone, type this instead:

chmod 600 ~/etc/localtime

cp /usr/share/zoneinfo/posix/Europe/London ~/etc/localtime

Here is a list of possible zones (substitute one of these instead of "London" shown above):

Amsterdam, Andorra, Athens, Belfast, Belgrade, Berlin, Bratislava,
Brussels, Bucharest, Budapest, Chisinau, Copenhagen, Dublin, Gibraltar,
Helsinki, Istanbul, Kiev, Kuybyshev, Lisbon, Ljubljana, London,
Luxembourg, Madrid, Malta, Minsk, Monaco, Moscow, Oslo, Paris,
Prague, Riga, Rome, Sarajevo, Simferopol, Skopje, Sofia, Stockholm,
Tallinn, Tirane, Vaduz, Vienna, Vilnius, Warsaw, Zagreb, Zurich

There are more time zones in these files:

/usr/share/zoneinfo/posix/Asia
/usr/share/zoneinfo/posix/Canada
/usr/share/zoneinfo/posix/Austrailia


HOME | SITE HOSTING | VIRTUAL SERVERS | PAGE DESIGN | FAQ | ORDER | TECH SUPPORT


Copyright © 1996, Sphynx Web Solutions. All rights reserved. All brand names and product names used on these web pages are trademarks, or trade names of their respective holders. Direct questions or comments to webmaster@sphynx.com.