In my html file I'm passing an array of objects with a date time to javascript like this
<script>
var TimerEvents = @Html.Raw(Json.Encode(Model.PendingTimerEvents));
</script>
my 'TimerEvents' has an EventTime property that when I read in Javascript looks like this
"/Date(1521617700000)/"
and I want to get this value, whatever it is, into a Javascript Date() object. like this
var countDownDate = new Date(date here).getTime();
What is that format, and how would I do this?