logo
Toggle navigation
Begin main navigation
About
Projects
Download
Documentation
Wiki
Forums
Log In
Go!
OpenACS – The Toolkit for Online Communities
:
Forums
:
OpenACS Q&A
:
PostgreSQL date questions
: One Message
Begin main content
Forum OpenACS Q&A: Response to PostgreSQL date questions
Search:
Back to OpenACS Q&A
4
:
Response to PostgreSQL date questions
(response to
1
)
Posted by
Bart Teeuwisse
on
02/15/02 06:03 AM
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))
Back to OpenACS Q&A