use NOW() for date, forgot to quote dates (redmine #1800)