I want to convert an interval (from substraction between two timestamps) into a integer that represents how many seconds that interval has. How do I do that?
I am using postgresql 7.3.1
Thanks
Wei