I have a virtual machine that is set to PST that a couple of colleagues have in different timezones. If I wanted to change the time-zone to EST and GMT, what do I need to do?

link|improve this question

50% accept rate
feedback

3 Answers

up vote 6 down vote accepted

Execute the following command:

 sudo dpkg-reconfigure tzdata
link|improve this answer
feedback

As root you have to execute:

dpkg-reconfigure tzdata
link|improve this answer
feedback

To run one program with a different time zone setting, set the TZ environment variable, e.g. run TZ=Pacific/Kiritimati date to see what time it is on Christmas Island, or export TZ=Pacific/Kiritimati to have the setting last for a shell session.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.