Andrew Maxwell

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.

  1. SSH into your new virtual machine
  2. sudo -s to become the root user
  3. run the dpkg-reconfigure tzdata
  4. This will bring up a GUI which will guide you to change your timezone information

Leave a Reply

You must be logged in to post a comment.