LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 04-17-2006, 02:12 PM   #76
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492

1: Yes

2: Concerning mainframes, no idea about what "true UTC" may mean, nor "false UTC.
 
Old 04-17-2006, 02:35 PM   #77
as400
Member
 
Registered: Apr 2004
Location: USA
Distribution: Solaris 10 (x86) and Windows XP Pro SP2
Posts: 596

Original Poster
Rep: Reputation: 30
What do you mean by only responding as YES????

So I should set it as TZ=UTC-8 ??

Or, is it already set by using this??

rtc -c -z UTC

I NEED to have details here...

Its probably set using the (rtc -c -z UTC) command because the ZONE INFO is set as UTC...And also the BIOS time is set to UTC too...

I only want to confirm this.

Last edited by as400; 04-17-2006 at 02:37 PM.
 
Old 04-17-2006, 02:49 PM   #78
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
1: Nothing more than yes, to set the displayed timezone, use indeed the TZ=something syntax
2: If you like, altough UTC-8 is a timezone with no DST, not exactly yours, not one I suggested.
3: No, obviously no, there is nothing here that set the offset in that command. How would you like the O/S to know something you do not tell.

For details, read again this thread from the start, there are more details than ever needed.
 
Old 04-17-2006, 03:03 PM   #79
as400
Member
 
Registered: Apr 2004
Location: USA
Distribution: Solaris 10 (x86) and Windows XP Pro SP2
Posts: 596

Original Poster
Rep: Reputation: 30
Should I use
TZ=UTC-8

or...like this:

TZ=US/Pacific

From this point on I still dont know...Because the BIOS shows the time in UTC...Now, my concern is should I do the TZ like this

TZ=UTC-8 or TZ=US/Pacific

Last edited by as400; 04-17-2006 at 03:20 PM.
 
Old 04-17-2006, 03:09 PM   #80
as400
Member
 
Registered: Apr 2004
Location: USA
Distribution: Solaris 10 (x86) and Windows XP Pro SP2
Posts: 596

Original Poster
Rep: Reputation: 30
Quote:
2: If you like, altough UTC-8 is a timezone with no DST
Should I use the TZ=UTC-8 then to avoid the DST time problems?? If I use this, that means I will not have to change the clock sitting on my desktop during DST?? Am I right?

So whats the different between the TZ=US/Pacific and the UTC-8 then?

This is what I am asking you. The BIOS shows UTC...But my TZ shows TZ=US/Pacific, so this means that I have to still manually change the desktop time during DST if I use TZ=US/Pacific instead of the TZ=UTC-8..right?

Last edited by as400; 04-17-2006 at 03:10 PM.
 
Old 04-17-2006, 03:34 PM   #81
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
Originally Posted by as400
Should I use the TZ=UTC-8 then to avoid the DST time problems?? If I use this, that means I will not have to change the clock sitting on my desktop during DST?? Am I right?
No, using TZ=UTC-8 mean you'll have a wrong displayed time during summer.
Quote:
So whats the different between the TZ=US/Pacific and the UTC-8 then?
either 0 or 1 hour, depending on the season.
Quote:
This is what I am asking you. The BIOS shows UTC...But my TZ shows TZ=US/Pacific, so this means that I have to still manually change the desktop time during DST if I use TZ=US/Pacific instead of the TZ=UTC-8..right?
Wrong, the change will be done automatically for you.
 
Old 04-17-2006, 03:42 PM   #82
as400
Member
 
Registered: Apr 2004
Location: USA
Distribution: Solaris 10 (x86) and Windows XP Pro SP2
Posts: 596

Original Poster
Rep: Reputation: 30
1. So as long as the "ZONE_INFO" is set to UTC (zone_info=UTC) then I am in good shape for the next DST change as far as Solaris goes....Right?

2. Now...here is a REALLY REALLY and REALLY great example on what I mean...I have found on this Web-Page which is hosted on Linux and at the bottom of this webpage, it says this:
Quote:
All times are GMT. The time now is 00:46.
Now...Does this mean that this web-server (running Linux) has its Hardware Clock set to UTC? Or, the actual DISPLAY clock (which sits on the Desktop) is set to UTC? Or...both?

Great example I wanted to point out here. You can see it when you scroll down to the bottom of this page...

Last edited by as400; 04-17-2006 at 07:57 PM.
 
Old 04-18-2006, 01:31 AM   #83
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
1: Wrong, you are always in good shape for the next DST change, whatever the settings, as long as you stay with Solaris.

2: I see a different timezone: "All times are GMT +2. The time now is 08:22 AM."
 
Old 04-18-2006, 10:21 AM   #84
as400
Member
 
Registered: Apr 2004
Location: USA
Distribution: Solaris 10 (x86) and Windows XP Pro SP2
Posts: 596

Original Poster
Rep: Reputation: 30
Quote:
1: Wrong, you are always in good shape for the next DST change, whatever the settings, as long as you stay with Solaris.
I dont understand.

Here are my settings:
Code:
zone_info=UTC
TZ=US/Pacific
I am booting into Solaris 98% of the time...So will this solve my DST change issues? Or, I am doing everything wrong?

Last edited by as400; 04-18-2006 at 10:25 AM.
 
Old 04-18-2006, 11:29 AM   #85
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Make this 100% and you will be fine
 
Old 04-18-2006, 08:32 PM   #86
as400
Member
 
Registered: Apr 2004
Location: USA
Distribution: Solaris 10 (x86) and Windows XP Pro SP2
Posts: 596

Original Poster
Rep: Reputation: 30
So my settings are OK..right??
 
Old 04-18-2006, 09:55 PM   #87
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
They are, but they won't prevent an extra one hour shift twice a year, unless you never boot windows during the whole DST period.

As I already wrote, there is no way to workaround this Windows limitation but to have the clock synchronized to an external reference at boot time on both O/Ses.
 
Old 04-18-2006, 11:26 PM   #88
as400
Member
 
Registered: Apr 2004
Location: USA
Distribution: Solaris 10 (x86) and Windows XP Pro SP2
Posts: 596

Original Poster
Rep: Reputation: 30
Quote:
They are, but they won't prevent an extra one hour shift twice a year, unless you never boot windows during the whole DST period.
What do you mean by "unless I never boot into Windows during the DST time period?"

Does this mean I cannot boot into Windows like right now for example? (which I need to at some point a day or two to burn CDs) and thats it...I will not be in there for long periods...Only to burn a few CDs and then after that I will boot into Solaris MOST of the time anyway..

Or....Do you actually mean I cannot boot into Windows DURING THAT DAY of the DST time change..If thats the case..GREAT!!!! Then I will not...

But like I said, I usuallt boot into Windows like maybe whenever I have to burn CDs there and thats it...
 
Old 04-19-2006, 11:13 AM   #89
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
If you only boot Windows for recording CDs, you can set Windows to a timezone with no DST (like UTC or Africa/Casablanca), then set Solaris to use UTC as H/W clock, and US/Pacific as display time.

That way, you won't be bothered by DST changes. The displayed time will always be correct under Windows (UTC) and Solaris (Local time, with DST changes automatically applied).
 
Old 04-19-2006, 10:58 PM   #90
as400
Member
 
Registered: Apr 2004
Location: USA
Distribution: Solaris 10 (x86) and Windows XP Pro SP2
Posts: 596

Original Poster
Rep: Reputation: 30
Let me get this straight...And please tell me if these settings are OK or not...Please.

1. In Windows, I should set the DISPLAYED clock which sits on the desktop to a Time Zone of UTC...am I correct? But, the only thing I dont know if I should CHECK or UNCHECK that CHECK-BOX that says: "AUTOMATICALLY ADJUST CLOCK FOR DST CHANGE" or not? Thats the only thing I have to ask you about...

2. In Solaris, I have the following setting:
Code:
zone_info=UTC
TZ=US/Pacific
3. And the RTC/CMOS clock is set to UTC also...AND I WANT TO LEAVE IT SET ON UTC NO MATTER WHAT!!

4. And what should I do with that [RealTimeIsUniversal=1] registry thing that we did under Windows? Should I just leave it the way It is? Or, should I remove it or set it to normal which is (0)??

Now, are these settings OK to avoid DST change problems?? Are these OK..??

Last edited by as400; 04-19-2006 at 11:19 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
System clock correct, hardware clock wrong karlovac Linux - General 5 01-16-2009 07:19 PM
the amazing, incredible, changing clock! BrianNJ Linux - Software 7 07-03-2006 10:17 PM
Linux OS Clock/Timezone shows the clock off by 6 hours between OS's JBailey742 Linux - Software 9 04-06-2006 11:40 PM
Preventing Debian from changing time on hardware clock reddazz Debian 6 04-12-2005 07:45 PM
Changing Cpu clock/frequency on fly carl0ski Linux - Software 0 11-14-2004 06:00 AM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 09:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration