[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: fixing the time?





Todd A. Jacobs wrote:
On Fri, Aug 29, 2008 at 07:40:59PM -0400, Zach Uram wrote:

My Debian box keeps showing the wrong time

Unlikely. It is showing you the time it thinks it has, adjusted for your
time zone. If the time is wrong, likely your hardware clock is wrong.

Reset your clock properly with hwclock. For ongoing clock issues, you
may need to use chrony, ntp, or similar to keep your clock synchronized.


Yeah another thing to check would be /etc/localtime, which controls which timezone the machine is in. So, for eg. to change the timezone I'd do:
cd /etc
mv localtime localtime.old
ln -s /usr/share/zoneinfo/Europe/Berlin /etc/localtime

Obviously look in /usr/share/zoneinfo/ for your correct timezone


Reply to: