Re: convert integer seconds to timestamp

Поиск
Список
Период
Сортировка
От Wilson Fletcher
Тема Re: convert integer seconds to timestamp
Дата
Msg-id 20031016133940.A7903@mclachlan.com.au
обсуждение исходный текст
Ответ на convert integer seconds to timestamp  (Wilson Fletcher <research@mclachlan.com.au>)
Ответы Re: convert integer seconds to timestamp  (Wilson Fletcher <research@mclachlan.com.au>)
Список pgsql-sql
Sorry, I found the answer to this on the list.

ie. select date::abstime from ....

BUT, how do I get it in local time ? ie. - 10 or 11 hours depending on daylight savings.

thanks.

On Thu, Oct 16, 2003 at 01:31:11PM +1000, Wilson Fletcher wrote:
> How can I convert epoch seconds (as an interger) to a timestamp ?
> 
> I've already seen the post below BUT it doesn't work. I suspect it is out of date:
> http://archives.postgresql.org/pgsql-sql/2000-09/msg00190.php
> 
> thanks.
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster


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

Предыдущее
От: Wilson Fletcher
Дата:
Сообщение: convert integer seconds to timestamp
Следующее
От: Wilson Fletcher
Дата:
Сообщение: Re: convert integer seconds to timestamp