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 not the same as the host (your computer).

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

sudo hwclock -s

The command above re-sync the hardware clock and set 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.

Darryl Dias

I’m Darryl. I’m a 3D Artist, Programmer and Linux enthusiast. On this site I share my insights, tips and tricks, tutorials, methods and best practices.

Leave a comment

Your email address will not be published. Required fields are marked *