Eastern day time in north america

Non release banter
User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: Eastern day time in north america

Post#16 by brokenman » 29 Oct 2016, 00:51

By that do you mean it matched his TV's DVR? :shock:
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3918
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Re: Eastern day time in north america

Post#17 by ncmprhnsbl » 29 Oct 2016, 02:00

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
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
Ed_P
Contributor
Contributor
Posts: 8315
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Re: Eastern day time in north america

Post#18 by Ed_P » 29 Oct 2016, 02:37

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.
Ed

Jack
Contributor
Contributor
Posts: 1857
Joined: 09 Aug 2013, 14:25
Distribution: Porteus and Nemesis
Location: USA

Re: Eastern day time in north america

Post#19 by Jack » 07 Nov 2016, 21:39

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.
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

User avatar
Ed_P
Contributor
Contributor
Posts: 8315
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Re: Eastern day time in north america

Post#20 by Ed_P » 08 Nov 2016, 00:32

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:
Ed

Bogomips
Full of knowledge
Full of knowledge
Posts: 2564
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: Eastern day time in north america

Post#21 by Bogomips » 08 Nov 2016, 00:51

Earlier today, something like 2hr 20' ahead, but now just 20' ahead. :Search:
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

jssouza
Legendary
Legendary
Posts: 1165
Joined: 09 Jul 2015, 14:17
Distribution: Porteus x86 arm

Re: Eastern day time in north america

Post#22 by jssouza » 08 Nov 2016, 04:53

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).

Bogomips
Full of knowledge
Full of knowledge
Posts: 2564
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: Eastern day time in north america

Post#23 by Bogomips » 08 Nov 2016, 11:46

Upon logging in:
All times are UTC + 1 hour [ DST ]
Presume Daylight Saving Time.
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

User avatar
francois
Contributor
Contributor
Posts: 6433
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Eastern day time in north america

Post#24 by francois » 02 Jul 2017, 02:31

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:~# 
Prendre son temps, profiter de celui qui passe.

jssouza
Legendary
Legendary
Posts: 1165
Joined: 09 Jul 2015, 14:17
Distribution: Porteus x86 arm

Re: Eastern day time in north america

Post#25 by jssouza » 02 Jul 2017, 18:39

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.

User avatar
francois
Contributor
Contributor
Posts: 6433
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: Eastern day time in north america

Post#26 by francois » 03 Jul 2017, 20:00

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.
Prendre son temps, profiter de celui qui passe.

User avatar
francois
Contributor
Contributor
Posts: 6433
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Eastern day time in north america

Post#27 by francois » 15 Dec 2019, 12:53

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.

User avatar
francois
Contributor
Contributor
Posts: 6433
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Eastern day time in north america

Post#28 by francois » 21 Jun 2021, 15:46

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?
Prendre son temps, profiter de celui qui passe.

beny
Full of knowledge
Full of knowledge
Posts: 2083
Joined: 02 Jan 2011, 11:33
Location: italy

Eastern day time in north america

Post#29 by beny » 21 Jun 2021, 17:15

server 0.ca.pool.ntp.org maybe canada is not us. maybe i am wrong....

User avatar
francois
Contributor
Contributor
Posts: 6433
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Eastern day time in north america

Post#30 by francois » 04 Aug 2021, 11:36

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.
Prendre son temps, profiter de celui qui passe.

Post Reply