sqlite doesn't have NOW() or INTERVAL

I guess nobody actually uses this code... :-)