Unix time stamp function?

Поиск
Список
Период
Сортировка
От Steve Micallef
Тема Unix time stamp function?
Дата
Msg-id 20010613103614.W37166-100000@toaster.syd.ot
обсуждение исходный текст
Список pgsql-general
Hi,

I store Unix time stamps (seconds since Jan 1 1970) in my database. I was
hoping there was an SQL/PostgreSQL function for converting a unix time
stamp into a readable date/time string?

I've searched the documentation, and there only seems to be functions
which deal with time stamps (XXXX-XX-XX XX:XX:XX).

Thanks in advance,

Steve Micallef


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: PLPGSQL: Using SELECT INTO and EXECUTE
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Re: Does PostgreSQL support EXISTS?