Re: timestamp with time zone

Поиск
Список
Период
Сортировка
От Joshua D. Drake
Тема Re: timestamp with time zone
Дата
Msg-id 4760C905.3040607@commandprompt.com
обсуждение исходный текст
Ответ на timestamp with time zone  (Tatsuo Ishii <ishii@postgresql.org>)
Ответы Re: timestamp with time zone  (Tatsuo Ishii <ishii@postgresql.org>)
Список pgsql-general
Tatsuo Ishii wrote:
> Hi,

> test=# select t at time zone 'jst' from t2;
>   timezone
> -------------
>  17:34:56+09
> (1 row)
>
> test=# select t::time from t2;
>     t
> ----------
>  12:34:56
> (1 row)

Hello,

timezone_test=# select cast(t as time with time zone) from t2;
        t
  -------------
   12:34:56+04
  (1 row)

?

Sincerely,

Joshua D. Drake




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

Предыдущее
От: Tatsuo Ishii
Дата:
Сообщение: timestamp with time zone
Следующее
От: "Uwe C. Schroeder"
Дата:
Сообщение: For the SQL gurus out there