(Solved) How Do I Change UTC Time To Local Time

New to Debian (Or Linux in general)? Ask your questions here!

Re: (Solved) How Do I Change UTC Time To Local Time

Postby GarryRicketson » 2017-03-04 00:59

It would seem like it was clear enough, one would think most people
would logically come to the conclusion that in order to "Change" the file
they would need to edit it, so it probably never occurred to the original
author.
In any event, I edited it :
from: https://wiki.debian.org/DateTimeHardware clock and system time when dual booting

While Debian prefer to keep the hardware clock in UTC (this prevents the need to change it on daylight savings and timezone changes) other systems (like Windows) by default keeps the hardware clock synchronized to local time. To keep the hardware clock sane and the time correctly displayed by multiple systems they need to agree on which timezone the hardware clock is kept at.

In Debian the timezone for the hardware clock is configured in the file /etc/adjtime;

0.000000 14602224559 0.000000
1460224559
UTC
===== I added this comment =====
Edit /etc/addtime, and change "UTC" to "LOCAL" if you want the hardware clock to be kept at local time instead of UTC.

You do need to use sudo or su to edit this file, any editor will work,but nano or vi is the normal choice.

So any way, hope it is more clear to others,... looks like we need to also do a spanish translation on that page, but that is another topic.
"What we expect you have already Done"

Before doing anything, read the Debian documentation:
Debian Documentation
How to ask the smart way
Debian Foro Español
======================
For the Birds
User avatar
GarryRicketson
 
Posts: 4466
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: (Solved) How Do I Change UTC Time To Local Time

Postby Rocky Bennett » 2017-03-04 14:30

Garry, Thank you very much for that alteration. Yes, there are people in the world that are so green that we need everything spelled out, I am sorry for any problems that I have caused. I am a happy Debian user and will continue to use and learn Debian as much as possible, but I am old and I do not think that I will ever learn enough to consider myself a novice. But such is life.

Thanks again.

Rocky
User avatar
Rocky Bennett
 
Posts: 59
Joined: 2016-02-11 18:45

Previous

Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable