DEV Community

Eduardo Issao Ito
Eduardo Issao Ito

Posted on

Set current date behind a proxy

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

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

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)