DB fix

changed Data type date to DateTime