Tanti Technology

My photo
Bangalore, karnataka, India
Sandeep Kumar | Founder, Tanti Technologies At Tanti Technologies, I share practical knowledge, hands-on tutorials, and real-world solutions across Python, SQL, Docker, Kubernetes, CI/CD, AWS, Azure, Machine Learning, Generative AI, and Agentic AI. My mission is to simplify complex technologies and provide actionable insights that help developers, engineers, and businesses learn faster, build better, automate smarter, and innovate with confidence. 🚀 Learn • Build • Automate • Innovate Follow Tanti Technologies for practical technology insights and next-generation AI solutions.

Tuesday, 10 December 2013

How to change the Time Zone in AIX




File involve                  -                       /etc/environment
Reboot Required         -                       Yes (To take effect).

My server location is in EST (Easter Standard Time zone), but some reason it showing me the CST (Central Standard Time Zone). My oslevel is 61.

#date
Mon Feb 11 09:36:02 CST 2013
#

Check your /etc/environment file as well, before going to make changes.

# more /etc/environment
Let’s change the time zone

# smitty chtz_date ⤶

By selecting the approciate time zone, it gives the following message


Command: OK            stdout: yes           stderr: no

Before command completion, additional instructions may appear below.

Any changes made to the time zone will take effect at the next system boot.

OR, you can use the command line to change the time zone as well.

#chtz EST5EDT,M3.2.0/2:00:00,M11.1.0/2:00:00

Let check again, it showing me the same TZ, because changes will take effect after reboot.

#date
Mon Feb 11 09:36:02 CST 2013
#
Any change, to time zone, check your /etc/environment file before going to reboot.

# more /etc/environment
PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java5/jre/bin:/usr/java5/bin
TZ=EST5EDT,M3.2.0/2:00:00,M11.1.0/2:00:00
LANG=en_US

After reboot, Check again, Its done.

guexnim01(/)#date
Mon Feb 11 09:46:00 EST 2013
guexnim01(/)#

No comments:

Post a Comment