Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: cmos/bios time?  (Read 5004 times)

0 Members and 1 Guest are viewing this topic.

jekillen

    Topic Starter


    Newbie

    • Experience: Experienced
    • OS: BSD
    cmos/bios time?
    « on: May 17, 2015, 01:06:21 PM »
    I have installed a FreeBSD system on Asus motherboard and have needed to set time
    in bios/cmos. But:
    I set the time to hours: 11 and when I boot the system. the time shows up as 4 (instead of 11)
    SO I get into the bios and set the hour to 23 (assuming a 24 hr clock) and the system comes up
    showing 16
    What is happening here?
    I would use ntp server to set time but I don't yet have an internet connection for this system
    Thanks for time and attention.
    JK

    camerongray



      Expert
    • Thanked: 306
      • Yes
      • Cameron Gray - The Random Rambings of a Computer Geek
    • Certifications: List
    • Computer: Specs
    • Experience: Expert
    • OS: Mac OS
    Re: cmos/bios time?
    « Reply #1 on: May 17, 2015, 01:46:56 PM »
    UNIX systems store the time in the BIOS as UTC, the OS then changes this based on the timezone (by adding/subtracting hours).  You should set the time through the OS itself or set the BIOS to the time in UTC rather than your local time.

    jekillen

      Topic Starter


      Newbie

      • Experience: Experienced
      • OS: BSD
      Re: cmos/bios time?
      « Reply #2 on: May 18, 2015, 07:31:50 PM »
      Actually, in the bios on this machine I do not see an option for specifying utc.
      But what happened is that I had the minutes set wrong. When I set the minutes
      to the correct value, the time showed up correct on reboot.

      Thank you for your time and attention

      Tan



        Greenhorn
        • Experience: Familiar
        • OS: Windows 7
        Re: cmos/bios time?
        « Reply #3 on: June 14, 2015, 05:12:28 AM »
        Quote
        Linux maintains two clocks: the hardware clock and the software clock. The battery driven hardware clock maintains the time while the computer is turned off. During the boot, Linux reads the hardware clock and sets the software clock to the value it retrieves.

        I think that this article can help you: date command
        Work hard and say it's easy.