Report this

What is the reason for this report?

What was the time/date on my Ubuntu droplet before I reset it?

Posted on January 19, 2015

I changed the time/date on my Ubuntu droplet to Sydney, Australia time (from the command line). The droplet is located in Singapore.

This is now causing problems authenticating with Twitter, and I’d like to reset it to the default. So … what was that default? UTC?

Is there a command to set the time back to the default?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

What makes you think a timezone change causes problems authenticating with Twitter?

Short answer:

  • because part of the OAuth connection magic is a timestamp which uses the server’s local time
  • because the problem started when I changed the time

I think Twitter is seeing times in the future, or too far in the past, and rejecting the authorisation.

My server time is now set to Sun Jan 18 22:19:02 and it’s working again.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.