Re: [GENERAL] Are we backwards on the sign of timezones?

Поиск
Список
Период
Сортировка
От Dan Langille
Тема Re: [GENERAL] Are we backwards on the sign of timezones?
Дата
Msg-id 3F05EA69.20820.6F7AEAFF@localhost
обсуждение исходный текст
Ответ на Are we backwards on the sign of timezones?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [GENERAL] Are we backwards on the sign of timezones?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: '_' < '5' -- different answer on 7.2 and 7.3
Следующее
От: MIka Santos
Дата:
Сообщение: Need help for our thesis.