> I am facing issue while product test with different > time zone option. > Time zone with Asia/Calcutta & GMT+5:30 shows 11 hrs > difference. > $ TZ=Asia/Calcutta > $ export TZ > $ date > Fri Jun 13 10:39:04 IST 2008 > $ TZ="GMT+5:30" > $ export TZ > $ date > Thu Jun 12 23:39:19 GMT 2008 > $ > > Help appreciated. > --Sarjerao
Unix timezones are for some historic reason written with reversed polarity. Timezones to the west of Greenwhich are Positive . Timezones to east of Greenwich are Negative. Probably the inventors of Unix could not imagine that New Jersey would be located in " EST-5 " which would be more logical . When the clock is 12 noon in London 12-5 = 7 its 7am in New Jersey. GMT+5:30 is haftway between NewYork and Kansas City . Its suppoesed to be eleven hours from Calcutta . Anyway this timezone does not exist . you have EST5 and CST6 and MST7 and PST8 Calcutta is GMT-5:30 which is India Standard Time IST This message posted from opensolaris.org _______________________________________________ opensolaris-help mailing list [email protected]
