Not registered yet?
Register now! It is easy and done in 1 minute and gives you access to special discounts and much more!
By Hùng Nờ Đê
On Ubuntu , i can set time format use GUI(12h or 24h).
Then, i want to check this setting use terminal, how to do it.
Somebody help me
...requires a different command:
dconf write /org/mate/panel/objects/clock/prefs/format "'12-hour'"
and, as one would expect, 24-hour:
dconf write /org/mate/panel/objects/clock/prefs/format "'24-hour'"
I think this will do okay to check the time
to check the date
# timedatectl or # timedatectl status
To check CMOS Time
# hwclock # hwclock –systohc
He stated he knows how to change it. He needs to know how to check it.
Yeah, thank you very much ! i used dconf to read clock-format