A question can only have one accepted answer. Are you sure you want to replace the current answer with this one?
You previously marked this answer as accepted. Are you sure you want to unaccept it?
Write for DigitalOcean
You get paid, we donate to tech non-profits.
Find and meet other developers in your city.
Contribute to Open Source
I would like to set the date and time of my drop gmt-03: 00 Brasilia is possible?
Add comments here to get more clarity or context around a question. To answer a question, use the “Answer” field below.
You can update your droplet's timezone by running the following command:
sudo cp /usr/share/zoneinfo/America/Sao_Paulo /etc/localtime
I have been looking for this answer
Hi, i tried this but did not make a change.
I have a VPS in San Francisco (SF1), and it showed originally EST time:
Thu Feb 26 01:08:06 EST 2015
So I made this change:
$ export TZ=PST
Thu Feb 26 06:28:48 PST 2015
Now it shows PST, but is still off by 8 hours (it is now Thu Feb 25 22:28:48 PST 2015 - on West Coast USA).
I have tried both these:
sudo cp /usr/share/zoneinfo/America/Los_Angeles /etc/localtime
sudo cp /usr/share/zoneinfo/US/PST /etc/localtime
and they did not change a thing.
How do I get the REAL PST time?
i logged out, and then logged back in about 9 hours later, and the time is correct now:
Thu Feb 26 07:05:59 PST 2015
Hi, Kamal Nasser,
Tks for help.