Posts: 46
maary79
Joined: 14 May 2013
#1
Hello, I use antix 12 and I have a problem with the system time .... During installation I selected properly, then the country time zone.
The time is still two hours later.
I already tried clicking the control center - system - set time and date - from the selected terminal Europe - Rome, but the time is always wrong.
I tried both connected to the Internet that offline.
You can manually edit?
Thanks __{{emoticon}}__
Last edited by maary79 on 04 Jun 2013, 16:25, edited 1 time in total.
Posts: 2,238
dolphin_oracle
Joined: 16 Dec 2007
#2
I think you can use the"date" command from a root terminal to set the date and time. I'm not sure on syntax but I'm sure there is a man page for it.
Posts: 1,308
BitJam
Joined: 31 Aug 2009
#3
I think your problem might be a mixup between local time and UTC. See
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"antix.freeforu ms.org/post28324.html#p28324"
linktext was:"this post"
====================================
for instructions on how to set the time correctly. Even if my guess is wrong, those instructions will help you get your time problem sorted out.
Posts: 850
fatmac
Joined: 26 Jul 2012
#4
The command would be similar to :-
date -s 15:36
(As root user.)

HTH.
Posts: 46
maary79
Joined: 14 May 2013
#5
Thanks guys,
with the command"man hwclock" very long text appears, I have already translated because I want to understand why other commands do not work"hwclock --show" and"hwclock --localtime" and"hwclock --utc" etc.
The command:
date -s 15:36
(As root user.)
has modified the time.
As soon as I finish I say to you __{{emoticon}}__
thanks
Posts: 1,308
BitJam
Joined: 31 Aug 2009
#6
maary79 wrote:with the command"man hwclock" very long text appears, I have already translated because I want to understand why other commands do not work"hwclock --show" and"hwclock --localtime" and"hwclock --utc" etc.
Did you run hwclock as root? It needs to be run as root. It is not even on a normal user's path. It is located at /sbin/hwclock so:

Code: Select all

$ sudo /sbin/whclock --show
should work.
Posts: 46
maary79
Joined: 14 May 2013
#7
I solved it by logging in as root and then with the command:

Code: Select all

sudo dpkg-reconfigure tzdata
and

Code: Select all

date -s 15:36
Thanks __{{emoticon}}__