title: converting .NET DateTime object to Javascript Date object
body: <p>I've the following problem:</p>
  
  <p>I retrieve a DateTime object from SQL Server and pass it via JSON (using $.ajax) to Javascript. I have experienced difficulty trying to convert the retrieved object to a Date object in javascript.
  The retrieved object is a string of value "/Date(615592800000)/". I think the value is an epoch time.</p>
  
  <p>My question is, is there another way of retrieving the date object than to use regex to select the epoch value and then create a new Date object?</p>
  
  <p>I'm fairly new to JS, so any help would be appreciated.</p>