Re: [GENERAL] Are we backwards on the sign of timezones? - Mailing list pgsql-hackers

From Dan Langille
Subject Re: [GENERAL] Are we backwards on the sign of timezones?
Date
Msg-id 3F05EA69.20820.6F7AEAFF@localhost
Whole thread Raw
In response to Are we backwards on the sign of timezones?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [GENERAL] Are we backwards on the sign of timezones?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On 3 Jul 2003 at 13:18, Tom Lane wrote:

> Comments?

Now that my NZ server is up and running:

template1=# select now();
              now
-------------------------------
 2003-07-05 12:47:15.444535+12

That doesn't look backwards to me.  Perhaps I don't understand the
problem.  After rereading your original post:

         Local time is equal to UTC (Coordinated Universal Time) plus
         the time zone displacement,

In the above, the local time is  2003-07-05 12:47:15.444535.  UTC
would be  2003-07-05 00:47:15.444535.  To which we add +12 hours to
get local time.  That appears to be consistent with the SQL99 spec.
--
Dan Langille : http://www.langille.org/


pgsql-hackers by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: '_' < '5' -- different answer on 7.2 and 7.3
Next
From: MIka Santos
Date:
Subject: Need help for our thesis.