Is there a way to convert a date value that is formatted as 9999-12-31T00:00:00Z
to the format /Date(1525687010053)/
using javascript?
I tried implementing the following code, but it doesn't seem to be working:
var datevalue = '9999-12-31T00:00:00Z';
var converteddate = Date.parseDate(datevalue);