Fixed issue where date was not able to be parsed into the database giving a date of 0000-00-00.