Hi friends, today we are going to see how to convert SharePoint date into human readable date format using jquery.

When you use REST API or JSOM to retrieve the date field from SharePoint, you will get the output as /Date(1508371200000)/. But what if you need it in a readable format?

We can easily convert above date format into a human-readable format using below script. Here
var rawDate = "/Date(1508371200000)/"; 
var rawDate = parseInt(rawDate.substring(6, 19)); 
var d = new Date(rawDate); 
var result = d.format("dd MMM yyyy");

In the above code, the variable result will give you the output as 19 Oct 2017

Convert SharePoint date to Readable date