How to set hardware clock to correct time?





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







-1















How can I set the hardware clock to my correct local time?



hwclock shows:



enter image description here



instead of 06:42 it should be 18:42



My timezone is Europe/Berlin



How can I fix this?










share|improve this question









New contributor




K W is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 3





    6:42 PM is 18:42 Hours! The clock is showing the correct time.

    – user68186
    yesterday













  • on another ubuntu server I get 18:42 using the same command.

    – K W
    yesterday


















-1















How can I set the hardware clock to my correct local time?



hwclock shows:



enter image description here



instead of 06:42 it should be 18:42



My timezone is Europe/Berlin



How can I fix this?










share|improve this question









New contributor




K W is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 3





    6:42 PM is 18:42 Hours! The clock is showing the correct time.

    – user68186
    yesterday













  • on another ubuntu server I get 18:42 using the same command.

    – K W
    yesterday














-1












-1








-1








How can I set the hardware clock to my correct local time?



hwclock shows:



enter image description here



instead of 06:42 it should be 18:42



My timezone is Europe/Berlin



How can I fix this?










share|improve this question









New contributor




K W is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












How can I set the hardware clock to my correct local time?



hwclock shows:



enter image description here



instead of 06:42 it should be 18:42



My timezone is Europe/Berlin



How can I fix this?







time






share|improve this question









New contributor




K W is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




K W is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited yesterday









Kulfy

5,15951844




5,15951844






New contributor




K W is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked yesterday









K WK W

6




6




New contributor




K W is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





K W is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






K W is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








  • 3





    6:42 PM is 18:42 Hours! The clock is showing the correct time.

    – user68186
    yesterday













  • on another ubuntu server I get 18:42 using the same command.

    – K W
    yesterday














  • 3





    6:42 PM is 18:42 Hours! The clock is showing the correct time.

    – user68186
    yesterday













  • on another ubuntu server I get 18:42 using the same command.

    – K W
    yesterday








3




3





6:42 PM is 18:42 Hours! The clock is showing the correct time.

– user68186
yesterday







6:42 PM is 18:42 Hours! The clock is showing the correct time.

– user68186
yesterday















on another ubuntu server I get 18:42 using the same command.

– K W
yesterday





on another ubuntu server I get 18:42 using the same command.

– K W
yesterday










2 Answers
2






active

oldest

votes


















1














There is an explanation about the hardware clock here whcih you might find useful



Simply the commands are these to write the system time to hardware time:



# sudo hwclock -w [or --systohc]


check what effect it had:



# hwclock
Sat 10 Aug 2013 08:16:27 AM PDT -0.625382 seconds

# date
Sat Aug 10 08:16:28 PDT 2013





share|improve this answer

































    1














    You will need to change a locale called LC_TIME



    This will show what you use now:



    $ env | grep LC_TIME
    LC_TIME=nl_NL.UTF-8


    It probably is set differently (and to one where they use 12-hour format)sudo



    This would be German:



    localectl set-locale LC_TIME=de_DE.utf8





    share|improve this answer
























      Your Answer








      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "89"
      };
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function() {
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled) {
      StackExchange.using("snippets", function() {
      createEditor();
      });
      }
      else {
      createEditor();
      }
      });

      function createEditor() {
      StackExchange.prepareEditor({
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });






      K W is a new contributor. Be nice, and check out our Code of Conduct.










      draft saved

      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1133043%2fhow-to-set-hardware-clock-to-correct-time%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      1














      There is an explanation about the hardware clock here whcih you might find useful



      Simply the commands are these to write the system time to hardware time:



      # sudo hwclock -w [or --systohc]


      check what effect it had:



      # hwclock
      Sat 10 Aug 2013 08:16:27 AM PDT -0.625382 seconds

      # date
      Sat Aug 10 08:16:28 PDT 2013





      share|improve this answer






























        1














        There is an explanation about the hardware clock here whcih you might find useful



        Simply the commands are these to write the system time to hardware time:



        # sudo hwclock -w [or --systohc]


        check what effect it had:



        # hwclock
        Sat 10 Aug 2013 08:16:27 AM PDT -0.625382 seconds

        # date
        Sat Aug 10 08:16:28 PDT 2013





        share|improve this answer




























          1












          1








          1







          There is an explanation about the hardware clock here whcih you might find useful



          Simply the commands are these to write the system time to hardware time:



          # sudo hwclock -w [or --systohc]


          check what effect it had:



          # hwclock
          Sat 10 Aug 2013 08:16:27 AM PDT -0.625382 seconds

          # date
          Sat Aug 10 08:16:28 PDT 2013





          share|improve this answer















          There is an explanation about the hardware clock here whcih you might find useful



          Simply the commands are these to write the system time to hardware time:



          # sudo hwclock -w [or --systohc]


          check what effect it had:



          # hwclock
          Sat 10 Aug 2013 08:16:27 AM PDT -0.625382 seconds

          # date
          Sat Aug 10 08:16:28 PDT 2013






          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited yesterday

























          answered yesterday









          GrahamGraham

          2,29861629




          2,29861629

























              1














              You will need to change a locale called LC_TIME



              This will show what you use now:



              $ env | grep LC_TIME
              LC_TIME=nl_NL.UTF-8


              It probably is set differently (and to one where they use 12-hour format)sudo



              This would be German:



              localectl set-locale LC_TIME=de_DE.utf8





              share|improve this answer




























                1














                You will need to change a locale called LC_TIME



                This will show what you use now:



                $ env | grep LC_TIME
                LC_TIME=nl_NL.UTF-8


                It probably is set differently (and to one where they use 12-hour format)sudo



                This would be German:



                localectl set-locale LC_TIME=de_DE.utf8





                share|improve this answer


























                  1












                  1








                  1







                  You will need to change a locale called LC_TIME



                  This will show what you use now:



                  $ env | grep LC_TIME
                  LC_TIME=nl_NL.UTF-8


                  It probably is set differently (and to one where they use 12-hour format)sudo



                  This would be German:



                  localectl set-locale LC_TIME=de_DE.utf8





                  share|improve this answer













                  You will need to change a locale called LC_TIME



                  This will show what you use now:



                  $ env | grep LC_TIME
                  LC_TIME=nl_NL.UTF-8


                  It probably is set differently (and to one where they use 12-hour format)sudo



                  This would be German:



                  localectl set-locale LC_TIME=de_DE.utf8






                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered yesterday









                  RinzwindRinzwind

                  210k28404538




                  210k28404538






















                      K W is a new contributor. Be nice, and check out our Code of Conduct.










                      draft saved

                      draft discarded


















                      K W is a new contributor. Be nice, and check out our Code of Conduct.













                      K W is a new contributor. Be nice, and check out our Code of Conduct.












                      K W is a new contributor. Be nice, and check out our Code of Conduct.
















                      Thanks for contributing an answer to Ask Ubuntu!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1133043%2fhow-to-set-hardware-clock-to-correct-time%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      GameSpot

                      日野市

                      Tu-95轟炸機