Forum OpenACS Q&A: Response to PostgreSQL date questions

Collapse
Posted by Bart Teeuwisse on
What would be the Oracle equivalent to calculate the interval between two time stamps in seconds? Per Don's suggestion I'm using the following in Postgresql:

(date_part('epoch', now()) - date_part('epoch', in_cart_date))