Re: convert timezone to string ...

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: convert timezone to string ...
Дата
Msg-id 6BCB9D8A16AC4241919521715F4D8BCE92E79F@algol.sollentuna.se
обсуждение исходный текст
Ответ на convert timezone to string ...  ("Marc G. Fournier" <scrappy@postgresql.org>)
Список pgsql-sql
> I know that the server knows that ADT == -0400, and AST ==
> -0300 ... is there any way of reversing that?  Basically, I
> want to say:
>
> SELECT timezone_str(-0400, 'not dst');
>
> and have it return ADT ... I've got a method of doing it
> right now, using a function, but just find it looks so messy,
> just wondering if there is a clean way of doing it ...
>
> Thanks ...

How would you know *which* timezone to go back to? For every hourly
offset there is a whole set of timezones that would result in it...

//Magnus


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

Предыдущее
От: PFC
Дата:
Сообщение: Re: automatic update or insert
Следующее
От: Wiebe Cazemier
Дата:
Сообщение: Re: writable joined view