UPDATE `employers` SET `logout_date`='2017-04-25 00:39:33' WHERE UNIX_TIMESTAMP(DATE_SUB('2017-04-25 00:39:33', INTERVAL 1440 SECOND)) > UNIX_TIMESTAMP(last_request_time) AND (`logout_date` ='0000-00-00 00:00:00')Incorrect datetime value: '0000-00-00 00:00:00' for column 'logout_date' at row 1