Marvin Garcia wrote:
Please see the lines bellow,

[EMAIL PROTECTED] # echo $TZ
GMT-4
[EMAIL PROTECTED] # date; date -u
Wed May 10 19:35:04 GMT 2006
Wed May 10 15:35:04 GMT 2006

What i mean is that instead of subtract 4 it sum 4 to the GMT ... Do
you see the diferences?
I think this is ilogical or am i doing something wrong?

AFAICS, that's the way it's defined. See at the end of http://www.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap08.html the explanation of TZ:

The offset is "the value added to the local time to arrive at Coordinated Universal Time." That's also supported by "If preceded by a '-', the timezone shall be east of the Prime Meridian" in that standard. That this is not the way it's expressed on http://wwp.greenwichmeantime.com/ is an other issue. :-) Maybe you find more explanations on that site.

Cheers,
        Joachim

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Joachim Schrod                          Email: [EMAIL PROTECTED]
Roedermark, Germany

_______________________________________________
questions mailing list
[email protected]
https://lists.ntp.isc.org/mailman/listinfo/questions

Reply via email to