Re: timestamp with postgresql 7.3

Поиск
Список
Период
Сортировка
От Claude
Тема Re: timestamp with postgresql 7.3
Дата
Msg-id Pine.LNX.4.51.0304050216160.27043@bar.noc.be.easynet.net
обсуждение исходный текст
Ответ на Re: timestamp with postgresql 7.3  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
Список pgsql-sql
Thanks, that made the trick.


On Fri, 4 Apr 2003, Stephan Szabo wrote:

>
> On Fri, 4 Apr 2003, Claude wrote:
>
> > I have a table a field with timestamps in seconds since epoch and I would
> > like to get a human readable date... but it seems that postgresql 7.3 does
> > not support the datetime(), timestamp(), timestamptz() functions...
>
> I'd say probably something like:
>
> CAST('epoch' as timestamp with time zone) + integerfield * INTERVAL '1 second'



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

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: timestamp with postgresql 7.3
Следующее
От: "A.M."
Дата:
Сообщение: UNION and ORDER BY ... IS NULL ASC