Help! Timezones - Simple yet baffling

From: Sammy (mesammy@gmail.com)
Date: Fri Nov 25 2005 - 11:00:26 EST


Hi Sun worshippers,

I have a solaris 8 box in a country 1 hour ahead of the uk.

I have therefore set the /etc/TIMEZONE TZ to GMT+1.

I set the time to local time with date <localtime>.

Two problems:
1) When I do the date command, it writes GMT - why doesn't it write GMT+1?

2) When I do date -u, it gives me a time on hour ahead of local time -
not standard GMT time. If I set the time to GMT+2, then date -u
gives me the time 2 hours AHEAD of local time!!!!! not what i expected

What am i doing wrong?

kind regards,

Sammy
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:37:10 EDT