Eastern day time in north america
- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Re: Eastern day time in north america
By that do you mean it matched his TV's DVR?
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
- ncmprhnsbl
- DEV Team
- Posts: 3938
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
- Contact:
Re: Eastern day time in north america
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)
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
from gentoo wiki: https://wiki.gentoo.org/wiki/System_time/en (ignore the systemd/openrc stuff)
summary: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).
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
- Ed_P
- Contributor
- Posts: 8369
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Re: Eastern day time in north america
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.brokenman wrote:By that do you mean it matched his TV's DVR?
Ed
-
- Contributor
- Posts: 1857
- Joined: 09 Aug 2013, 14:25
- Distribution: Porteus and Nemesis
- Location: USA
Re: Eastern day time in north america
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.
- Ed_P
- Contributor
- Posts: 8369
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Re: Eastern day time in north america
Actually it's 8 months on, 4 months off since 2007.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.
Ed
-
- 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
Earlier today, something like 2hr 20' ahead, but now just 20' ahead.
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
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
Re: Eastern day time in north america
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).Bogomips wrote:Earlier today, something like 2hr 20' ahead, but now just 20' ahead.
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).
-
- 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
Upon logging in:
Presume Daylight Saving Time.All times are UTC + 1 hour [ DST ]
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
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
- francois
- Contributor
- Posts: 6435
- 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
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
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:
or from terminal:
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
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
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.
Re: Eastern day time in north america
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.
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.
- francois
- Contributor
- Posts: 6435
- 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
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.
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.
- francois
- Contributor
- Posts: 6435
- 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
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.
/usr/share/zoneinfo/Canada/Eastern
in the timezone time settings.
Cheers.
- francois
- Contributor
- Posts: 6435
- 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
It is 11h54.
I have adjusted my clock settings to /America/Montreal.
I get:
What is wrong?
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
Prendre son temps, profiter de celui qui passe.
Eastern day time in north america
server 0.ca.pool.ntp.org maybe canada is not us. maybe i am wrong....
- francois
- Contributor
- Posts: 6435
- 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
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.
But this for now does not fix the problem.
Prendre son temps, profiter de celui qui passe.