How to pass a JSON date value via ASP.NET MVC using JSON.NET? [duplicate]

This was found in another post on Stack Overflow:

var date = new Date(parseInt(jsonDate.substr(6))); 

The substr function takes out the “/Date(” part, and the parseInt function gets the integer and ignores the “)/” at the end. The resulting number is passed into the Date constructor.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)