Knowledgebase
The knowledgebase provides documentation written by our team. Please select a category or search for answers.
Articles
How do I Linux Server Change OR Setup The Timezone?
Set timezone using /etc/localtime configuration file [any Linux distro]
Often /etc/localtime is a symlink to the file localtime or to the correct time zone file in the system time zone directory.
Cd to /etc, run:
| # cd /etc #rm -rf localtime |
Creatr copy to file localtime:
| #cp /usr/share/zoneinfo/Asia/Bangkok /etc/localtime |
How do I verify new settings?
Use the date command to verify that your timezone is changed:
| $ date |
Output:
| Tue Mar 12 14:53:36 ICT 2013 |
Was this article helpful?
☹Dislike0 ☺Like0
☹Dislike0 ☺Like0
Views: 790