Set up correct timeForum: Other Help Topics Topic: Set up correct time started by: JoLLi Posted by JoLLi on May 02 2005,22:23
Hello guys,iam really new in Linux and I hope you can help me. I want to set up the correct time on my DSL 1.0.1 HD installation. When I type "date" iam getting following: Mon May 2 18:14:49 EDT 2005 But my Timezone here is CEST! How I set up my hwclock to UTC and my sysclock to CEST??? Please help me Bye Bye Jochen Posted by cbagger01 on May 02 2005,22:54
< http://damnsmalllinux.org/cgi-bin....wclock% >< http://damnsmalllinux.org/cgi-bin....wclock% > Posted by JoLLi on May 07 2005,08:54
Hello,thank you for your help. Now I have read so much about setting time in Linux, but I don't understand it!!! Everybody tells me different things about setting time. /etc/timezone /usr/share/zoneinfo /etc/adjtime and commands like "tzselect" "date" "hwclock" iam really confused now. I have set /etc/timezone to "TZ=CET-1CES-2,M3.5.0/02:00,M10.5.0/03:00" but nothing happend! Please help Bye Bye Jochen Posted by roberts on May 08 2005,00:10
Take a look at the write I did awhile ago:< http://damnsmalllinux.org/cgi-bin....ookmark > Posted by tkarakai on Jan. 05 2006,23:29
Once I had my harware clock showing the local time correctly, all I had to do (on my hd-installed box) was to replace the /etc/localtime file with another file choosen from /usr/share/zoneinfo/... corresponding to my timezone (in my case: .../US/Pacific), and of course renamed as /etc/localtime. Then the command "date" instantly reported that I in the new timezone.I hope it helps someone. Posted by Grim on Jan. 12 2006,03:15
Assuming you have the correct timezone set and have followed all of the other good advice these fine people have given you...`apt-get install rdate` then: `su sudo crontab -e` and add
now, you'll always have the right date/time. |