Re: converting epoch to timestamp

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: converting epoch to timestamp
Дата
Msg-id 435F4AD1.3070605@archonet.com
обсуждение исходный текст
Ответ на converting epoch to timestamp  (Rajesh Kumar Mallah <mallah.rajesh@gmail.com>)
Ответы Re: converting epoch to timestamp
Список pgsql-sql
Rajesh Kumar Mallah wrote:
> Hi,
> 
> Can anyone tell me how to convert epoch to timestamp ?
> 
> ie reverse of :
> 
> SELECT EXTRACT( epoch FROM  now() );

I'd start with either Google or the manuals.

http://www.postgresql.org/docs/8.0/interactive/functions-datetime.html

Scroll down to the section on "epoch" here and see the example.

--   Richard Huxton  Archonet Ltd


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

Предыдущее
От: "A. Kretschmer"
Дата:
Сообщение: Re: converting epoch to timestamp
Следующее
От: Stef
Дата:
Сообщение: Re: converting epoch to timestamp