Set Time Zone Print

  • 21

First remove the currently set timezone:
rm -rf /etc/localtime 2>/dev/null; unlink /etc/localtime 2>/dev/null
Then, decide what timezone you want:
find /usr/share/zoneinfo/ | more

Once you know the filename representing your timezone, use ln as follows. In this example, I will set the VPS to EST, my favorite timezone.

ln -s /usr/share/zoneinfo/EST /etc/localtime


The Time itself is set on our server and sync'd each 30 minutes to time.nist.gov


Was this answer helpful?

« Back