Change date() calls to MySQL now()