Unix time stamp function? - Mailing list pgsql-general

From Steve Micallef
Subject Unix time stamp function?
Date
Msg-id 20010613103614.W37166-100000@toaster.syd.ot
Whole thread Raw
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: PLPGSQL: Using SELECT INTO and EXECUTE
Next
From: Martijn van Oosterhout
Date:
Subject: Re: Re: Does PostgreSQL support EXISTS?