Re: [SQL] definative way to place secs from epoc into timestamp column

2005-03-02 Thread Tom Lane
Bret Hughes <[EMAIL PROTECTED]> writes: > I give up. I have STFW and STFM and still do not feel like I have a > good way to update/insert into a timestamp w/o TZ column with an integer > representing seconds from epoch. The docs say: Here is how you can convert an epoch value back to a time st

[SQL] definative way to place secs from epoc into timestamp column

2005-03-02 Thread Bret Hughes
I give up. I have STFW and STFM and still do not feel like I have a good way to update/insert into a timestamp w/o TZ column with an integer representing seconds from epoch. I am adding functionality to a php app that does a fair amount of work with time and am currently using abstime($timestamp)