Re: Unix time stamp function? - Mailing list pgsql-general

From alla@sergey.com (Alla)
Subject Re: Unix time stamp function?
Date
Msg-id 9275d56e.0106130412.44cc9d18@posting.google.com
Whole thread Raw
In response to Unix time stamp function?  (Steve Micallef <stevenm@ot.com.au>)
List pgsql-general
this works for me: timestamp(your_variable)

Alla

stevenm@ot.com.au (Steve Micallef) wrote in message news:<20010613103614.W37166-100000@toaster.syd.ot>...
> 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
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)

pgsql-general by date:

Previous
From: Marcel Gsteiger
Date:
Subject: Can I access the IP address within SQL?
Next
From: "Rich Bowman"
Date:
Subject: Hardware Config