wrong time, correct timezone

Tagged: 

  • This topic has 9 replies, 6 voices, and was last updated Jul 22-11:48 pm by rolfarius.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #39119
    Member
    rolfarius

      Hi everybody,
      a little problem I have with the time setting:
      although I have chosen to get time via internet timezone it is always 1,5 hour in advance.
      When I set the time manually it works for the session but after a new boot it’s the same difference of 1,5 hours…
      I thought to change the time in the bios but this is correct – I see this on another Lubuntu OS installed on the same hard drive.

      I live now in India, timezone Bangalore… but my laptop is from Germany…
      Thanks for help – appreciating your time 🙂

      #39121
      Moderator
      Brian Masinick
        Helpful
        Up
        0
        ::

        Hi everybody,
        a little problem I have with the time setting:
        although I have chosen to get time via internet timezone it is always 1,5 hour in advance.
        When I set the time manually it works for the session but after a new boot it’s the same difference of 1,5 hours…
        I thought to change the time in the bios but this is correct – I see this on another Lubuntu OS installed on the same hard drive.

        I live now in India, timezone Bangalore… but my laptop is from Germany…
        Thanks for help – appreciating your time 🙂

        What time zone is enabled?

        If the setup that was originally made is for a German location, even if you manually set the time, each time you reboot it will revert back to the setup unless you change the permanent clock configuration, not just the current clock time.

        Under Applications, choose antiX, then Date and Time.

        Next, select Choose Time Zone and select the best current time zone.

        Once you have done that you can then Use Internet Time server to set (and maintain) the correct time.

        Do that again if you feel that it does not work. If the problem persists, please report the exact steps you have performed and the results you receive.

        It’s stable software but there’s a possibility that a defect has silently crept in the configuration.

        • This reply was modified 2 years, 9 months ago by Brian Masinick.

        --
        Brian Masinick

        #39151
        Forum Admin
        rokytnji
          Helpful
          Up
          0
          ::

          Also. Make sure bios time is right on and cmos battery aint going dead. I have to change cmos battery on some gear. Because of age.

          Sometimes I drive a crooked road to get my mind straight.
          Not all who Wander are Lost.
          I'm not outa place. I'm from outer space.

          Linux Registered User # 475019
          How to Search for AntiX solutions to your problems

          #39186
          Member
          rolfarius
            Helpful
            Up
            0
            ::

            Thanks a lot for all the posts. The time zone is correct: Asia > Bankog.
            The cmos battery is still sufficent, is anyway a recharable one in this old Fujitsu Siemens Lifebook.
            I will change the bios time… and then It should work since the diffenrence is always exact the same.

            Just hope that the other OS is able to get correct time from internet.

            #39191
            Member
            afghan
              Helpful
              Up
              0
              ::

              Change your hardware clock, i.e. the BIOS time to UTC. Your timezone setting of Asia->Bangalore will give you the correct OS time when you boot up. It doesn’t matter where your PC comes from.

              Perhaps something like the following happened (it happened to me on the rare occasions that I need to use MS Windows). If you dual boot with Windows then your time can be screwed up by it. Windows expect your BIOS time to be local time, i.e whatever timezone you set your OS to, and it changes your BIOS time to match your timezone setting, thus screwing it up the next time you boot antiX. I set my Windows timezone to UTC and that fixed it. Newer updates of Windows fixed it I think, but there are so many other things broken on that OS that I try as much as possible not to use it.

              Beware of people who knows nothing; they are the ones that won't know that they know nothing.

              #39195
              Member
              AR
                Helpful
                Up
                0
                ::

                @rolfarius Just an assumption. Maybe your Lubuntu was configured to set RTC to local time (as it is in Windows), whereas Linux by default sets RTC to UTC and then adds an offset by timezone. It seems to me, I saw somewhere in *buntu time setting somewhat like “Set local time as system”, or somewhat similar. Anyway you may run this command in your Lubuntu to set back RTC to UTC:
                timedatectl set-local-rtc 0
                If this not help, then I pass…
                Of course if you have no Windows as third OS there, as @afghan supposed. In this case there is another method.

                • This reply was modified 2 years, 9 months ago by AR.
                #39197
                Moderator
                Brian Masinick
                  Helpful
                  Up
                  0
                  ::

                  @afghan:

                  That is a solid statement.

                  Keeping the same time configuration across the systems you use is essential to consistently setting up and maintaining an accurate time

                  --
                  Brian Masinick

                  #39203
                  Member
                  ex_Koo
                    Helpful
                    Up
                    0
                    ::

                    If the Linux way is not working can make windows use UTC..

                    fix-windows-linux-show-different-times

                    #39204
                    Moderator
                    Brian Masinick
                      Helpful
                      Up
                      0
                      ::

                      To many people using UTC for time management is the way to go.

                      Personally I like to use local time, but the main thing to do is to be consistent so you don’t have to repeatedly change the clock time, unless that’s actually what you *like* to do.

                      --
                      Brian Masinick

                      #39229
                      Member
                      rolfarius
                        Helpful
                        Up
                        0
                        ::

                        I have changed the BIOS time … and the time zone to Colombo instead of Bangkok (I think that’s what I’ve set in Lubuntu long ago). Now it is correct.

                        The problem was most likely the bios time was set in between two time zones, what I never realized on the other OS, Lubuntu as it it always adjusting the time via internet whatever time is set in the bios (sometimes I remember vague, the time was wrong on that OS too, probably when there was no internet).

                        Now the problem is solved (don’t know how to mark here as solved). Thanks all the posts 🙂

                        And thanks @afghan for all the notions – I have no Windos on that harddrive (exept an XP as a virtuel machine). Only an offline windows is good windows 🙂
                        The aspect of RTC -UTC I have to check maybe that was behind it…

                        Keeping the same time configuration across the systems you use is essential to consistently setting up and maintaining an accurate time
                        thats indeed the cruicial point 🙂

                      Viewing 10 posts - 1 through 10 (of 10 total)
                      • You must be logged in to reply to this topic.