Dates in MSSql Fixed. Data input check implemented