I am trying to send datatime by Ajax to Controller.
var toDbViewModel = {
"ClientId": clientId,
"ProjectId": projectId,
"TaskId": taskId,
"Description": description,
"Duration": totaldur,
"Start": start.toISOString()
}
Every other vars are ok but "Start" equals "1/1/0001 12:00 AM"
What do I do wrong ?
--EDIT--
While sending from Website the date is : "2016-01-04"