I do this:
time_diff = datetime.timedelta(minutes=30)
now = request.now + time_diff
notifications = db((db.watchlist.status=='active') &
(db.watchlist.send_date<now)).select()
I do this:
time_diff = datetime.timedelta(minutes=30)
now = request.now + time_diff
notifications = db((db.watchlist.status=='active') &
(db.watchlist.send_date<now)).select()