LinuxQuestions.org
Help answer threads with 0 replies.
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-07-2006, 02:38 PM   #46
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

Solaris has no idea and doesn't care about what time is displayed when the system is running under Windows, and reciprocally.

Moreover, under Solaris at least, many different time zone clocks can be displayed simultaneously, and will switch from/to DST at different times. There is no such thing as a single display clock.

The only think that matters is the RTC clock.
 
Old 04-07-2006, 03:03 PM   #47
as400
Member
 
Registered: Apr 2004
Location: USA
Distribution: Solaris 10 (x86) and Windows XP Pro SP2
Posts: 596

Original Poster
Rep: Reputation: 30
I dont think you understand..

If I set the displayed time under Solaris as UTC (right now)...will it switch back to local time during Daylight Savings Time or will it remain in UTC?

The Hardware clock is set to UTC...Thats fine...But Im talking about the displayed time now..
 
Old 04-07-2006, 03:37 PM   #48
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
I dont think you understand..
I'm sure I do.
Quote:
Originally Posted by as400
If I set the displayed time under Solaris as UTC (right now)...will it switch back to local time during Daylight Savings Time or will it remain in UTC?
As you may have understood now, there is no such thing as Daylight Saving Time in UTC, this event never happen, so this question is pointless.
 
Old 04-07-2006, 06:30 PM   #49
as400
Member
 
Registered: Apr 2004
Location: USA
Distribution: Solaris 10 (x86) and Windows XP Pro SP2
Posts: 596

Original Poster
Rep: Reputation: 30
Quote:
As you may have understood now, there is no such thing as Daylight Saving Time in UTC, this event never happen, so this question is pointless.
Even if I set UTC under the /etc/TIMEZONE directory?

thanks
 
Old 04-08-2006, 02:15 AM   #50
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
Precisely.
 
Old 04-12-2006, 12:57 PM   #51
as400
Member
 
Registered: Apr 2004
Location: USA
Distribution: Solaris 10 (x86) and Windows XP Pro SP2
Posts: 596

Original Poster
Rep: Reputation: 30
Problem...

Yesterday this happened also..

Yesterday I booted into Windows and it showed the local time...And after about 10 minutes or so, I glanced over to the clock and it changed to UTC time...Then I changed it back manually to local time, and I this morning I booted into Windows again and it did the same thing..It showed the correct local time but after 10 minutes or so I looked over to the clock and it shows UTC time...
 
Old 04-12-2006, 01:51 PM   #52
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
Did it switched time zones, or just offset the clock ?
Anyway, erratic behaviour is one of Windows well know features, isn't it ?
 
Old 04-12-2006, 06:21 PM   #53
as400
Member
 
Registered: Apr 2004
Location: USA
Distribution: Solaris 10 (x86) and Windows XP Pro SP2
Posts: 596

Original Poster
Rep: Reputation: 30
No it did not. Only the time which is 7 hours ahead...
 
Old 04-13-2006, 01:33 AM   #54
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 the RTC option prove to be unreliable under Windows, which is seems to, your only option is to go back to the original settings, and have both systems to sync their clock at boot time with a network reference.
 
Old 04-13-2006, 12:47 PM   #55
as400
Member
 
Registered: Apr 2004
Location: USA
Distribution: Solaris 10 (x86) and Windows XP Pro SP2
Posts: 596

Original Poster
Rep: Reputation: 30
So you actually think or is that the case that the registry tweak that we did under Windows is not compatible under Windows?

If thats the case, then I would be very happy because I am tired to solve this problem..Because everytime I boot into Windows after 45 minutes or so, the clock changes to 7 hours ahead of my Time Zone. But when I bootup, the time is perfectly OK...but after 45 minutes of uptime, the time swings ahead 7 hours.

Now..if I set the option in the registry back to normal in the registry, will I have to undue the changes in Solaris too? If yes, then how? Please explain.

It changes the time about an 1 hour the PC has booted.

Last edited by as400; 04-13-2006 at 01:13 PM.
 
Old 04-13-2006, 02:47 PM   #56
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
So you actually think or is that the case that the registry tweak that we did under Windows is not compatible under Windows?
I do. This tweak is undocumented, so Microsoft has no commitment to fix any issue with it ...
Quote:
If thats the case, then I would be very happy because I am tired to solve this problem..Because everytime I boot into Windows after 45 minutes or so, the clock changes to 7 hours ahead of my Time Zone. But when I bootup, the time is perfectly OK...but after 45 minutes of uptime, the time swings ahead 7 hours.

Now..if I set the option in the registry back to normal in the registry, will I have to undue the changes in Solaris too?
Correct.
Quote:
If yes, then how? Please explain.
That's quite simple, as root, run these commands:
Code:
rtc -z America/Los_Angeles
rdate time.nist.gov
Replace the timezone by yours if you aren't in the US west coast.
rdate assumes you have a proper Internet connection.
 
Old 04-14-2006, 08:01 PM   #57
as400
Member
 
Registered: Apr 2004
Location: USA
Distribution: Solaris 10 (x86) and Windows XP Pro SP2
Posts: 596

Original Poster
Rep: Reputation: 30
Now I wish to leave the RTC as UTC....If I leave the ZONE-INFO as UTC in Solaris and leaving the registry in Windows as back to normal, will I still have problems?

Because I DO WANT TO KEEP the RTC as set to UTC...

Actually, I will boot into Solaris MOST OF THE TIME...like around 95 percent of the time anyway..So if the clock changes in Windows erraticly, I still will not care..Because all I use Windows for is to burn Cds and do my backups anyway.

But, i still want to know if I switch the registry in Windows as back to normal and keeping the ZONE_INFO as UTC, will I still have issues under Solaris or not?

And as a matter of fact, I will change the actual DISPLAYED time under Solaris as UTC (TZ=UTC).

If I do that, then what will happen if I leave the Hardware (RTC) clock as UTC and changing the settings back to normal in Windows?

Thanks

Last edited by as400; 04-14-2006 at 08:29 PM.
 
Old 04-14-2006, 09:47 PM   #58
as400
Member
 
Registered: Apr 2004
Location: USA
Distribution: Solaris 10 (x86) and Windows XP Pro SP2
Posts: 596

Original Poster
Rep: Reputation: 30
OK...I DO WANT and have decided that I am going to set my clock or TimeZone under SOlaris to UTC..and keeping the RTC set as UTC also....

As far as Windows goes...I do not really care at this point...because of course, I'll be using Solaris 95 % of the time anyway..

Now..once again ...

1. RTC is set to UTC as we know. (i did not do the changes to normal yet on Windows)..I have to wait for your answer in order for me to do anything in Windows..

2. Solaris WILL BE set as UTC...

Now Im in a limbo here because I want to leave the RTC clock as UTC and set Solaris TimeZone to UTC as well.

But now, I dont know what to do on Windows now since this is the case...
 
Old 04-15-2006, 12:19 AM   #59
as400
Member
 
Registered: Apr 2004
Location: USA
Distribution: Solaris 10 (x86) and Windows XP Pro SP2
Posts: 596

Original Poster
Rep: Reputation: 30
What if I change back the settings under Windows, and leaving Solaris's "ZONE INFO" as UTC?? Will the RTC will still keep the time as UTC or not?

I still dont understand on why I have change the RTC setting in both OSs when the RTC is located in the CMOS altogether...I am still lost..

And remember, I still want the CMOS or RTC kept as UTC...But will it cause problems if I leave the "ZONE INFO" as UTC under Solaris and changing that registry in Windows back to normal?

Last edited by as400; 04-15-2006 at 12:22 AM.
 
Old 04-15-2006, 12:55 AM   #60
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 want now to have all your clocks set at UTC, you can select the timezone on both sides to be Africa/Casablanca, and RTC set at local time.
That would be a supported way, and as Morroco doesn't use DST and is on the GMT time-zone.
 
  


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 12:27 PM.

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