[GENERAL] From timestamp to seconds since epoch?

2000-07-17 Thread Erich
I've read through all the documentation, and I can't find a function that takes a timestamp and converts iit to seconds since epoch. Here's what I need to do: I have pairs of timestamps ('2000-07-12 03:33:53+00'), and I want to find out how many seconds are in the interval between them. I know

Re: [GENERAL] From timestamp to seconds since epoch?

2000-07-17 Thread Thomas Lockhart
I've read through all the documentation, and I can't find a function that takes a timestamp and converts iit to seconds since epoch. That would be date_part('epoch', ts) ... Here's what I need to do: I have pairs of timestamps ('2000-07-12 03:33:53+00'), and I want to find out how many