Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: [EN] local time  (Read 1927 times)

fauser17

  • Guest
[EN] local time
« on: 2014/04/21, 23:20:17 »
i am in dual boot with Windows so i would like my system clock on LOCAL not UTC.
I cannot find the file /etc/adjtime, as i am use to in Debian, to set the correct variable on LOCAL.
How can i do it in Siduction Kde.
Thanks for help

Offline GoinEasy9

  • User
  • Posts: 560
Re: local time
« Reply #1 on: 2014/04/22, 01:01:16 »
Did you try
Code: [Select]
dpkg-reconfigure tzdata ?

Edit: Actually, in KDE, I just go to System-Settings --> Date and Time, and I'm able to mark/unmark UTC, and, reset the time from there successfully.
« Last Edit: 2014/04/22, 01:10:34 by GoinEasy9 »
Linux Counter number 348347

fauser17

  • Guest
Re: local time
« Reply #2 on: 2014/04/22, 11:05:47 »
What i want to do is change definitely the Bios clock (CMOS) to local time because "Windows" works like that and we can't change it easily. So, bad or not is out of me.
I don't think Kde can do that. I think it changes the desktop clock only, but i will verify when i'll be on a Kde desktop.
It depends of the scripts of services systemd.
I'm going to create /etc/adjtime file to write LOCAL in it and see what happens. I'm practically sure it's going to work, because this is the way Debian set the system (hardware) clock to UTC or LOCAL.
As for dpkg... it only fixes the timezone to adjust the desktop-clock on the local time.

A good link about it :http://www.linuxfromscratch.org/lfs/view/stable-systemd/chapter07/clock.html
« Last Edit: 2014/04/22, 11:10:23 by fauser17 »

Offline Bequimão

  • User
  • Posts: 121
Re: local time
« Reply #3 on: 2014/04/22, 21:02:06 »
Yes, that will work

Code: [Select]
$ cat /etc/adjtime
0.049951 1398143873 0.000000
1398143873
LOCAL
Note: this is Debian testing, and systemd is not activated.

Best regards,
Bequimão
Bequimão (gesprochen: Be-ki-mãu) ist Manuel Beckmann,
brasilianischer Revolutionär in Maranhão (1630 - 1685).

Offline sunrat

  • User
  • Posts: 406
Re: local time
« Reply #4 on: 2014/04/24, 15:33:51 »
It is also possible to set Windows to use UTC from the hardware clock.