Forum OpenACS Q&A: Response to date arithmetic

Collapse
Posted by Jonathan Ellis on
Thanks for the tip!  Interesting, though -- as you say, you can query "WHERE date_created > date_part('epoch','now') + 3600"

but you can't do "WHERE date_created - date_part('epoch','now') > 3600"

It knows how to compare the two, but not how to do arithmetic with them.