I know that my question is similar to others but I didn\'t found any solution to my problem.
I have a C# DateTime property
public DateTime MyDate { get;
new Date(object.MyDate); should work.
new Date(object.MyDate);
EDIT: var date = new Date(parseInt(object.MyDate.substr(6)));
var date = new Date(parseInt(object.MyDate.substr(6)));
I've also seen this method:
var milli = "/Date(1245398693390)/".replace(/\/Date\((-?\d+)\)\//, '$1'); var d = new Date(parseInt(milli));