1833053 Members
2234 Online
110049 Solutions
New Discussion

How to set TimeZone

 
SOLVED
Go to solution
KapilRaj
Honored Contributor

How to set TimeZone

In Suse Linux , where do I set the time zone ? /etc/TIMEZONE like hpux ?

Regds,

Kaps
Nothing is impossible
8 REPLIES 8
Gopi Sekar
Honored Contributor

Re: How to set TimeZone


the file is /etc/sysconfig/clock

Hope this helps,
Gopi
Never Never Never Giveup
Steven E. Protter
Exalted Contributor

Re: How to set TimeZone

Time zone can also bet set with the GUI if you log on as root user.

Linux does not use the same methodology as HP-UX.

Good Luck,

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
KapilRaj
Honored Contributor

Re: How to set TimeZone

Can you help me what changes are required to set TZ as CUT ?

Regds,

Kapil
Nothing is impossible
Stuart Browne
Honored Contributor
Solution

Re: How to set TimeZone

On a SuSE box, you probably want '/usr/bin/tzselect'.

I don't know what you mean by CUT however.
One long-haired git at your service...
Gopi Sekar
Honored Contributor

Re: How to set TimeZone


run tzselect, which is command line utility. it will ask for continent and the country.

i dont know the country name for CUT :)

Regards,
Gopi
Never Never Never Giveup
KapilRaj
Honored Contributor

Re: How to set TimeZone

Coordinated Universal Time is CUT.
Nothing is impossible
Gopi Sekar
Honored Contributor

Re: How to set TimeZone


you mean UTC?

the edit /etc/sysconfig/clock file and modify HWCLOCK = --locatime to HWCLOCK = --utc

reboot your machine and it should be in utc now. check man hwclock for more info

Gopi
Never Never Never Giveup
C. Beerse_1
Regular Advisor

Re: How to set TimeZone

With SuSE linux, `yast` (or `yast2`) is the equivalent of `sam` on hp-ux:

xhost +
su -
export display=:0.0
yast2

or `yast2 timezone` direct.

make everything as simple as possible, not simpler (A.Einstein??)