Why can't I update my dates in database from 01/01/1753?

61 Views Asked by At

when I update and insert dates into my database they always come out as 01/01/1753

enter image description here

code for updating

cmd.Parameters.Add("@regdate", MySqlDbType.Date).Value = datereg.MinDate;
cmd.Parameters.Add("@exdate", MySqlDbType.Date).Value = regexp.MinDate;

it used to be fine but now it just stays at 1753

0

There are 0 best solutions below