Re: timestamp to int

Поиск
Список
Период
Сортировка
От Tomas Berndtsson
Тема Re: timestamp to int
Дата
Msg-id 80ithjoxla.fsf@junk.nocrew.org
обсуждение исходный текст
Ответ на Re: timestamp to int  ("Mitch Vincent" <mvincent@cablespeed.com>)
Ответы Re: timestamp to int  (will trillich <will@serensoft.com>)
Список pgsql-general
"Mitch Vincent" <mvincent@cablespeed.com> writes:

> SELECT EXTRACT(EPOCH FROM TIMESTAMP '2001-02-16 20:38:40');
>
> -- and you can replace the timestamp string with the name of a timestamp
> column.
>
> The above is in the manual, BTW.

Is there a way to do it the other way around, from an integer to a
timestamp?


Tomas

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

Предыдущее
От: Alex Pilosov
Дата:
Сообщение: Re: Returning records from function
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: PostgreSQL: YMMV?