Solaris / OpenSolarisThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
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.
Distribution: Solaris 10 (x86) and Windows XP Pro SP2
Posts: 596
Original Poster
Rep:
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..
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
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.
Distribution: Solaris 10 (x86) and Windows XP Pro SP2
Posts: 596
Original Poster
Rep:
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...
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
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.
Distribution: Solaris 10 (x86) and Windows XP Pro SP2
Posts: 596
Original Poster
Rep:
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.
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
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.
Distribution: Solaris 10 (x86) and Windows XP Pro SP2
Posts: 596
Original Poster
Rep:
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?
Distribution: Solaris 10 (x86) and Windows XP Pro SP2
Posts: 596
Original Poster
Rep:
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...
Distribution: Solaris 10 (x86) and Windows XP Pro SP2
Posts: 596
Original Poster
Rep:
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?
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.