1833732 Members
2831 Online
110063 Solutions
New Discussion

Re: Time zone error

 
SOLVED
Go to solution
susee_sundar
Regular Advisor

Time zone error

Hi team.,

We are facing a peculiar problem in our servers.
Here is the Details.

bash-2.05$ date
Tue Nov 28 07:01:49 GMT 2006
bash-2.05$ date -u
Tue Nov 28 12:01:51 GMT 2006

Our TimeZone is set to
bash-2.05$ echo $TZ
GMT+5


But when we access the server via winscp,and check the time of files we created recently, it is showing
28/11/2006 05:31 pm ( 5hours 30Minutes Fwd )

We are also facing few issues when we check the time from the browser.

Can anybody know the reason for the issue...

Regards
Suseendran .A


5 REPLIES 5
Dennis Handly
Acclaimed Contributor
Solution

Re: Time zone error

Your TZ setting is illegal. You should NOT be using GMT unless you use GMT0. See TZ under environ(5).

Any other setting requires you to use different name. For example for India:
export TZ=IST-5:30

Using "GMT+5" is the same as EST5 with no summer time.
susee_sundar
Regular Advisor

Re: Time zone error

Hi,

Really Amazing and our Whole Team are here to thank you..

Yes.,

export TZ=IST-5:30

It works....
_________________________

But How did you find out the IST value of indian time is ( IST-5:30 )

Really looking for your reply

Thanks & Regards
Suseendran ,A
Dennis Handly
Acclaimed Contributor

Re: Time zone error

I have colleagues in India so I had to use it many times.

Are you going to assign points?
melvyn burnard
Honored Contributor

Re: Time zone error

Also see you other thread#:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1079356
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
susee_sundar
Regular Advisor

Re: Time zone error

No Dennis., I am going to close the Thread

Thanks a Lot...

Susee