Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

chenge the time-zone

Status
Not open for further replies.

adva

Technical User
Nov 19, 2001
32
0
0
US
Hello all!

i have a question:
I have a solaris 2.6 and i want to chenge the time-zone from GMT to IST (the Israel time zone)
date -u wont to the trik.
 
well i did!
but it doesn`t work - i think it needs to be compyled , no?
 
Have you rebooted since you changed the TZ variable ?

The init process reads this at boot time.
 
is there anyway to compyle it without a reboot??
 
You could try the telinit command, which tells init to re-read its information, but I am not sure if it will reset the TZ variable.
 
Checkout man on "zic" timezone compiler to recompile timezone for immediate effect.
command is &quot;zic -v <file you have altered>
Timezone files are in /usr/share/lib/zoneinfo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top