I am trying to convert some data to js so I can use ko arrays. This is how I am doing it in the .cshtml file.
var List = @(Html.Raw(Json.Encode(Model.Item)));
All of the data is correct except for the date.
When I display it from Model.Item.Date is comes out to 3/9/2018
But when I display it from List.Date it gives me this weird string /Date(1520582400000)/
What format is this in and how can I convert it?
Thank you for the help.