Whenever I try to update an object with a registered date field, this value is passed in the model
{01/01/0001 00:00:00}
This happens even when I add
<%: Html.EditorFor(model => model.RegisteredDate) %>
to the view, even if the registered date is displayed in the editor, for example
18/03/2011 00:00:00
Another value is transmitted and produces the following error
SqlDateTime overflow. Must be between 1/1/1753 12:00:00 AM and 12/31/9999 11:59:59 PM.
Has anyone else experienced something like this?
source
share