Command for setting CMOS clock to UTC?

Hello folks!!

I am planning to install FreeBSD 6.0...And I would like to ask a question regarding the time..

During the installation part when it asks me if my: "CMOS clock is set to UTC or not? YES or NO?"

And if I select YES, will sysinstall adjust the CMOS clock to UTC automatically or not when I select YES during installation? If NOT, Is there a command in FreeBSD to tell it to adjust the CMOS/RTC clock to UTC? If there is, what is the command I can do?

And...I want my actual DISPLAYED time which sits on the desktop to be diplayed in local time. But I do want the CMOS/RTC clock to show time in UTC...But is there a command for this or not?

thanks.
slajoh01Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

gheistCommented:
command to adjust time is "date"
time zone is best changed wiyh sysinstall when needed.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
NopiusCommented:
'if I select YES, will sysinstall adjust the CMOS clock to UTC automatically' - NO

As gheist said, DISPLAYED time is controlled by current timezone setting (enviroment variable TZ).

Please read: man adjkerntz

Your CMOS time is either local or UTC.
If it's local, your current timezone used to shift time back to get UTC time, because FreeBSD kernel should always use UTC.
If it's UTC, kernel uses CMOS time without a change and further displayed time is controlled by TZ setting.
0
gheistCommented:
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.
I will leave the following recommendation for this question in the Cleanup topic area:

split between gheist http:#16522543 and nopius http:#16571324

Any objections should be posted here in the next 4 days. After that time, the question will be closed.

gheist
EE Cleanup Volunteer
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.