How do I set the timezone on my system?

Teradata Database on AWS
Teradata Employee

How do I set the timezone on my system?

The timezone on by system is incorrect.

Tags (1)

Accepted Solutions
Teradata Employee

Re: How do I set the timezone on my system?

If the system is not in the correct time zone, run the following commands from the command line to change the setting:

  • # sudo su -
  • # cd /etc
  • # rm localtime
  • # ls /usr/share/zoneinfo/US/
    • This command will list all the time zones you can pick. Select the one that fits your region.
  • # cd /etc
  • # ln -s /usr/share/zoneinfo/US/[your_timezone] localtime
    • where [your_timezone] is the time zone you picked from the previous step
  • Verify that the time zone changed by issuing “date”
1 ACCEPTED SOLUTION
1 REPLY
Teradata Employee

Re: How do I set the timezone on my system?

If the system is not in the correct time zone, run the following commands from the command line to change the setting:

  • # sudo su -
  • # cd /etc
  • # rm localtime
  • # ls /usr/share/zoneinfo/US/
    • This command will list all the time zones you can pick. Select the one that fits your region.
  • # cd /etc
  • # ln -s /usr/share/zoneinfo/US/[your_timezone] localtime
    • where [your_timezone] is the time zone you picked from the previous step
  • Verify that the time zone changed by issuing “date”