I have a date like this var jsDate = "2017-01-01";
I want to put this jsDate
like C# date: (/Date(1425408717000)/)
Also how can put this c# date /Date(1425408717000)/
into JavaScript Json date?
I have a date like this var jsDate = "2017-01-01";
I want to put this jsDate
like C# date: (/Date(1425408717000)/)
Also how can put this c# date /Date(1425408717000)/
into JavaScript Json date?
In JavaScript you can try: (new Date("2017-01-01")).getTime()
, which will give you 1483228800000
if that's what you are looking for