kalmen
asked on
How can I change my Solaris date from GMT to my local time?
Hi,
When I type date, i get:
Wed Feb 23 09:34:13 GMT 2005
How can I set it so it reads my local country timezone... I don't know if this can be done... Any thoughts or ideas?
When I type date, i get:
Wed Feb 23 09:34:13 GMT 2005
How can I set it so it reads my local country timezone... I don't know if this can be done... Any thoughts or ideas?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
> 3. use "date" command to change the time to the local time.
I would recommend use
ntpdate <ntp server>
or
rdate <rdate server>
to sync the time after the timezone change.
Regards,
Wesly
I would recommend use
ntpdate <ntp server>
or
rdate <rdate server>
to sync the time after the timezone change.
Regards,
Wesly
ASKER
Thanks all for everything. All was usefull. I had two solaris machines; one solaris 9 and the other solaris 7. In solaris 9, I found my timezone, but not in solaris 7. Any ideas if it were possible to create a timezone?
Thanks.
Thanks.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
So I can add anything I want, even if it was xyz? Or like Iraq/Mousil?
ASKER
Sorry, I guess a better way to ask the question is:
If I can't find the timezone from the list, how can I add my own?
If I can't find the timezone from the list, how can I add my own?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
That worked out just fine. I added the same timezone in Solaris 9 in the /etc/TIMEZONE and it worked well.
Thanks.
Thanks.
http://rsusu1.rnd.runnet.ru/solaris2.7/Solaris_System_Administration_Guide-stripped/ch09/262-265.html