From: | alla(at)sergey(dot)com (Alla) |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Unix time stamp function? |
Date: | 2001-06-13 12:12:45 |
Message-ID: | 9275d56e.0106130412.44cc9d18@posting.google.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
this works for me: timestamp(your_variable)
Alla
stevenm(at)ot(dot)com(dot)au (Steve Micallef) wrote in message news:<20010613103614(dot)W37166-100000(at)toaster(dot)syd(dot)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(at)postgresql(dot)org)
From | Date | Subject | |
---|---|---|---|
Next Message | Erick Papadakis | 2001-06-13 12:22:11 | RE: Re: Does PostgreSQL support EXISTS? |
Previous Message | Andy Samuel | 2001-06-13 10:37:47 | Vacuum-ing without disconnecting users |