How to set hardware clock to correct time?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
How can I set the hardware clock to my correct local time?
hwclock shows:
instead of 06:42 it should be 18:42
My timezone is Europe/Berlin
How can I fix this?
time
New contributor
add a comment |
How can I set the hardware clock to my correct local time?
hwclock shows:
instead of 06:42 it should be 18:42
My timezone is Europe/Berlin
How can I fix this?
time
New contributor
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
add a comment |
How can I set the hardware clock to my correct local time?
hwclock shows:
instead of 06:42 it should be 18:42
My timezone is Europe/Berlin
How can I fix this?
time
New contributor
How can I set the hardware clock to my correct local time?
hwclock shows:
instead of 06:42 it should be 18:42
My timezone is Europe/Berlin
How can I fix this?
time
time
New contributor
New contributor
edited yesterday
Kulfy
5,15951844
5,15951844
New contributor
asked yesterday
K WK W
6
6
New contributor
New contributor
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
add a comment |
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
add a comment |
2 Answers
2
active
oldest
votes
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
add a comment |
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
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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
add a comment |
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
add a comment |
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
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
edited yesterday
answered yesterday
GrahamGraham
2,29861629
2,29861629
add a comment |
add a comment |
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
add a comment |
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
add a comment |
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
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
answered yesterday
RinzwindRinzwind
210k28404538
210k28404538
add a comment |
add a comment |
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.
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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