Darryl Dias

11 Jan 2023 in windowstutorials

If you use WSL, you might have noticed that from time to time you will encounter errors and issues with Linux utilities, tools, and programs that are time-sensitive. This is because the time in the WSL environment is different or different from the host (your computer).

To fix this issue on [Ubuntu WSL] run this command.

`` sudo hwclock -s



The command above re-syncs the hardware clock and sets it to the correct time.

This is an ongoing bug and might get fixed in a future Windows update, until then this is the only solution I found.