How to change the timezone on Google Cloud Debian Virtual Machines
July 13, 2014
Here's a nice little snippet for you. If you're like me and have started using Google Compute Engine then you may run into a scenario where your virtual machines timestamp doesn't match your current location. If you chose the debian wheezy image, then this command will change the time or your virtual machine.
- SSH into your new virtual machine
sudo -sto become the root user- run the
dpkg-reconfigure tzdata - This will bring up a GUI which will guide you to change your timezone information