Re: timestamp (military) at time zone without the suffix

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: timestamp (military) at time zone without the suffix
Дата
Msg-id b1accfd6-9e9d-b3ff-bddf-5560fb19a679@aklaver.com
обсуждение исходный текст
Ответ на timestamp (military) at time zone without the suffix  (David Gauthier <davegauthierpg@gmail.com>)
Список pgsql-general
On 07/11/2018 12:36 PM, David Gauthier wrote:
> select now()::timestamp(0) at time zone 'utc' ;
Or:

test=> select now();
               now
-------------------------------
  2018-07-11 12:51:50.498416-07
(1 row)

test=>  select now()::timestamptz(0) at time zone 'utc' ;
       timezone
---------------------
  2018-07-11 19:51:52
(1 row)


-- 
Adrian Klaver
adrian.klaver@aklaver.com


В списке pgsql-general по дате отправления:

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: timestamp (military) at time zone without the suffix
Следующее
От: Tom Lane
Дата:
Сообщение: Re: timestamp (military) at time zone without the suffix