Home
The Toolkit for Online Communities
15939 Community Members, 0 members online, 2173 visitors today
Log In Register

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

OpenACS Home : Forums : OpenACS Q&A : Response to Date Math with bind variable emulation in postgresql : One Message

+
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.