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}}__
topic title: SOLVED Change the time manually. Is it possible?
7 posts
• Page 1 of 1
-
Posts: 46
- Joined: 14 May 2013
-
Posts: 2,238
- 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
- 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.
========= 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
- Joined: 26 Jul 2012
#4
The command would be similar to :-
date -s 15:36
(As root user.)
HTH.
date -s 15:36
(As root user.)
HTH.
-
Posts: 46
- 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
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
- Joined: 31 Aug 2009
#6
should work.
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: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.
Code: Select all
$ sudo /sbin/whclock --show
-
Posts: 46
- Joined: 14 May 2013
#7
I solved it by logging in as root and then with the command:
and
Thanks __{{emoticon}}__
Code: Select all
sudo dpkg-reconfigure tzdata
Code: Select all
date -s 15:36