DEV Community

Eduardo Issao Ito
Eduardo Issao Ito

Posted on • Edited on

1

Set current date behind a proxy

If you system is behind a proxy and NTP can't be used, you might try this little trick:

sudo date -s "$(curl -s http://www.timeapi.org/utc/now)"
Enter fullscreen mode Exit fullscreen mode

Be advised that after some time, your computer clock might drift away from standard clock. So this is just a temporary solution.

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more