Home
The Toolkit for Online Communities
17622 Community Members, 0 members online, 2751 visitors today
Log In Register
OpenACS Home : Forums : OpenACS Q&A : Date Math with bind variable emulation in postgresql : One Message

Forum OpenACS Q&A: Response to Date Math with bind variable emulation in postgresql

Collapse
Posted by Lars Pind on
Alternatively, you could say

now() - interval(:the_interval)

where the_interval is '1 days' or similar.

Of course, then you have to change the code somewhat, too.