database testing and fixing one case in the check date time