Command for setting CMOS clock to UTC?

Posted on 2006-04-23
Last Modified: 2013-11-22
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?

Question by:slajoh01
    LVL 61

    Accepted Solution

    command to adjust time is "date"
    time zone is best changed wiyh sysinstall when needed.
    LVL 27

    Assisted Solution

    '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.
    LVL 61

    Expert Comment

    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.

    EE Cleanup Volunteer

    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    Join & Write a Comment

    Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
    Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
    In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

    733 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    27 Experts available now in Live!

    Get 1:1 Help Now