Eastern day time in north america

Non release banter
User avatar
brokenman
Site Admin
Site Admin
Posts: 5456
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

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
Full of knowledge
Full of knowledge
Posts: 843
Joined: 20 Mar 2012, 03:42
Distribution: 3.2.2-64bit xfce/openbox
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 : http://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
Ed_P
Contributor
Contributor
Posts: 3156
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 3.2.2 64-bit 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: 1063
Joined: 09 Aug 2013, 14:25
Distribution: Porteus 3.2.rc5 Mate 64 bit
Location: Marysville, OHIO 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: 3156
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 3.2.2 64-bit 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: 2540
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
Samurai
Samurai
Posts: 179
Joined: 09 Jul 2015, 14:17
Distribution: Porteus x86 arm
Location: Liechtenstein

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: 2540
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: 4942
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

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:~# 
Voltaire: Le mieux est l'ennemi du bien.

jssouza
Samurai
Samurai
Posts: 179
Joined: 09 Jul 2015, 14:17
Distribution: Porteus x86 arm
Location: Liechtenstein

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: 4942
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

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.
Voltaire: Le mieux est l'ennemi du bien.

Post Reply