Why hwclock and date display different results and how to correct it

agarwal_achhnera

In my Linux Ubuntu 14.04 LTS machine date is shown incorrectly. When I try to run hwclock and date commands from the terminal they display different results:

sudo hwclock
Thursday 14 August 2014 04:38:09 PM IST  -0.766043 seconds

date
Thu Aug 14 11:08:30 IST 2014

Here hwclock time is right, but date is wrong. How can I correct it.

Thanks

konsolebox

Looks like your hardware clock is set to local time. Run this:

hwclock --localtime --hctosys

See hwclock --help for more info.

You should configure your boot-time settings so that this would be the default action when restoring your system time from the hardware clock. Check the documentation of your distro.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Why are these 2 date commands giving different results?

From Dev

How to display the correct date century in Pandas?

From Dev

How to change results to display a different name SQL

From Dev

How to change results to display a different name SQL

From Dev

how to display two different date picker in android

From Dev

why to_char and to_date returns different results

From Dev

Different results for date() and gmdate()

From Dev

How do I get my timeStamp variable to display the correct date?

From Dev

jQuery - How to post data to a different webpage and then display the results?

From Dev

How to display php results based on different values returned from mysql

From Dev

How to display mysql count results from one table in different columns?

From Dev

Display random results ordered by date

From Dev

Display random results ordered by date

From Dev

date() and gmdate() return different results

From Dev

date returning different results in different versions of php

From Dev

Datatable - Filtering by date range - Not returning correct results

From Dev

How to display results

From Dev

TO_CHAR and TO_DATE giving different results.How to achieve the TO_CHAR functionality using TO_DATE?

From Dev

Why these assignments produce different results?

From Dev

why are the results of the two queries different

From Dev

Why gethostbyaddr() returning different results?

From Dev

Why Dig returns different results

From Dev

Why are there different results for the following code?

From Dev

Why do browsers display grafics different and how to change that?

From Dev

unable to display correct date using strtotime

From Dev

why FFT results in high frequency range are not correct?

From Dev

Removing a class, then adding it back results in a different display

From Dev

search html div and display results on different page

From Dev

How to display results from multiple mysql tables orderd by a date column in one loop

Related Related

  1. 1

    Why are these 2 date commands giving different results?

  2. 2

    How to display the correct date century in Pandas?

  3. 3

    How to change results to display a different name SQL

  4. 4

    How to change results to display a different name SQL

  5. 5

    how to display two different date picker in android

  6. 6

    why to_char and to_date returns different results

  7. 7

    Different results for date() and gmdate()

  8. 8

    How do I get my timeStamp variable to display the correct date?

  9. 9

    jQuery - How to post data to a different webpage and then display the results?

  10. 10

    How to display php results based on different values returned from mysql

  11. 11

    How to display mysql count results from one table in different columns?

  12. 12

    Display random results ordered by date

  13. 13

    Display random results ordered by date

  14. 14

    date() and gmdate() return different results

  15. 15

    date returning different results in different versions of php

  16. 16

    Datatable - Filtering by date range - Not returning correct results

  17. 17

    How to display results

  18. 18

    TO_CHAR and TO_DATE giving different results.How to achieve the TO_CHAR functionality using TO_DATE?

  19. 19

    Why these assignments produce different results?

  20. 20

    why are the results of the two queries different

  21. 21

    Why gethostbyaddr() returning different results?

  22. 22

    Why Dig returns different results

  23. 23

    Why are there different results for the following code?

  24. 24

    Why do browsers display grafics different and how to change that?

  25. 25

    unable to display correct date using strtotime

  26. 26

    why FFT results in high frequency range are not correct?

  27. 27

    Removing a class, then adding it back results in a different display

  28. 28

    search html div and display results on different page

  29. 29

    How to display results from multiple mysql tables orderd by a date column in one loop

HotTag

Archive