How Do I Fix the Time on Ubuntu?
Contents

How do I set local time in Ubuntu?

To force ubuntu to use the local time, open a new terminal and type the following command:

  1. timedatectl set-local-rtc 1 –adjust-system-clock.
  2. timedatectl.
  3. Reg add HKLMSYSTEMCurrentControlSetControlTimeZoneInformation /v RealTimeIsUniversal /t REG_DWORD /d 1.

What is the command to check time in Linux?

To display date and time under Linux operating system using command prompt use the date command. It can also display the current time / date in the given FORMAT. We can set the system date and time as root user too.

David Miller

David Miller

Executive Financial & Market Analyst

David Miller brings 15 years of experience in global economics, personal finance strategy, and market dynamics. He specializes in turning complex economic trends into actionable insights for everyday readers.

Share this article
Twitter Facebook Pinterest