Page 2 of 3

Re: Eastern day time in north america

Posted: 29 Oct 2016, 00:51
by brokenman
By that do you mean it matched his TV's DVR? :shock:

Re: Eastern day time in north america

Posted: 29 Oct 2016, 02:00
by ncmprhnsbl
a fair bit of the archwiki has become useless to those not using systemd
from gentoo wiki: https://wiki.gentoo.org/wiki/System_time/en (ignore the systemd/openrc stuff)
UTC time vs localtime
The time for hardware clock can be modified to represent two standards: localtime or UTC time. The localtime is the real time of the time zone including DST. Preferred is UTC time because the system time gets computed by adding the time zone difference and DST. So daylight saving changes get automatically applied and changing the time zone are possible without changing the hardware clock. Exceptions can be made when using a dual-boot system; this is when the other operating system does not support or is not configured for an UTC hardware clock (by default, Windows uses localtime).
summary:
When windows runs local time it sets hardware clock to local time.
UTC sets the linux system time to hardware clock time.
if you use TIMEZONE=UTC, nothing changes
if you use TIMEZONE= something/else it gets messed up by adjusting localtime to +or- something else

*disclaimer* i dont use windows or localtime with my hardware

Re: Eastern day time in north america

Posted: 29 Oct 2016, 02:37
by Ed_P
brokenman wrote:By that do you mean it matched his TV's DVR? :shock:
The computer was in the den so I couldn't see the DVR but it matched the time on my watch, so close enough. :) The OS is Windows Vista.

Re: Eastern day time in north america

Posted: 07 Nov 2016, 21:39
by Jack
Since the time has change in OHIO my Computer and Forum time is off by 1 hour. So for 6 months time is right and for 6 months time is off by 1 hour. It been like this for years for me.

Re: Eastern day time in north america

Posted: 08 Nov 2016, 00:32
by Ed_P
Jack wrote:So for 6 months time is right and for 6 months time is off by 1 hour. It been like this for years for me.
Actually it's 8 months on, 4 months off since 2007. :wink:

Re: Eastern day time in north america

Posted: 08 Nov 2016, 00:51
by Bogomips
Earlier today, something like 2hr 20' ahead, but now just 20' ahead. :Search:

Re: Eastern day time in north america

Posted: 08 Nov 2016, 04:53
by jssouza
Bogomips wrote:Earlier today, something like 2hr 20' ahead, but now just 20' ahead. :Search:
I think the difference in time happens if you are logged in or not. When I log-in the time is 1:20' ahead (Me based out of CET compared to your London time I guess).
Also, the time when a particular user has mde a post changes by 1 hour if one reads the post offline or if read logged in! Reading it prior to login, your last post was made at 01:51, now it shows as made at 02:51!

EDIT: And now my this post is shown as made exactly 1hr 20' in the future (relative to my localtime).

Re: Eastern day time in north america

Posted: 08 Nov 2016, 11:46
by Bogomips
Upon logging in:
All times are UTC + 1 hour [ DST ]
Presume Daylight Saving Time.

Eastern day time in north america

Posted: 02 Jul 2017, 02:31
by francois
I am on xfce desktop. For keeping changes at bootup.

1) Setting the time zone:
1.1 Use the porteus setting center:
xfce panel > System > tools icon > time config > set timezone
or
1.21 Use timezone cheatcode for the bootloader instructions (jssouza suggestion):
http://www.porteus.org/tutorials/26-gen ... -them.html
In my case:
timezone=America/Montreal
1.22 In command line

Code: Select all

ln -sf /usr/share/zoneinfo/America/Montreal /etc/localtime
2.0 Use a script at startup to fix the time with a time server.
xfce panel > Settings > Session and startup

file name:
time-adjustment-for-poor-battery
command:

Code: Select all

ntpdate 0.us.pool.ntp.org && sleep 5s && hwclock -w
or from terminal:

Code: Select all

root@porteus:~# ntpdate 0.us.pool.ntp.org && sleep 5s && hwclock -w
 1 Jul 22:42:33 ntpdate[12291]: adjust time server 74.117.214.3 offset 0.008724 sec
root@porteus:~# 

Re: Eastern day time in north america

Posted: 02 Jul 2017, 18:39
by jssouza
Hi Francois,

Porteus does use ntpdate, but you need to use the timezone= cheatcode

http://forum.porteus.org/viewtopic.php?f=39&t=6369

PS: Ignore the last post, does not add any value to the thread.

Re: Eastern day time in north america

Posted: 03 Jul 2017, 20:00
by francois
Thanks for pointing for this pertinent thread initiated by brokenman.

I agree that timezone cheatcode is missing to my explanation. In fact, I used porteus setting center tools to set time zone to UTC.

Precedent post modified following your comment.

Thanks.

Eastern day time in north america

Posted: 15 Dec 2019, 12:53
by francois
Another way to do it in xfce4 is to right click on the panel clock, select properties and insert:
/usr/share/zoneinfo/Canada/Eastern

in the timezone time settings.
Cheers.

Eastern day time in north america

Posted: 21 Jun 2021, 15:46
by francois
It is 11h54.

I have adjusted my clock settings to /America/Montreal.
I get:

Code: Select all

root@porteus:~/Downloads/openplotterheadless# ntpdate 0.us.pool.ntp.org
21 Jun 15:40:54 ntpdate[29900]: adjust time server 206.82.16.3 offset 0.039696 sec
root@porteus:~/Downloads/openplotterheadless# hwclock -w
What is wrong?

Eastern day time in north america

Posted: 21 Jun 2021, 17:15
by beny
server 0.ca.pool.ntp.org maybe canada is not us. maybe i am wrong....

Eastern day time in north america

Posted: 04 Aug 2021, 11:36
by francois
Hello beny. Thanks for the suggestion. I realised that my bios was set at the wrong hour.

But this for now does not fix the problem.