title: How to convert Date format like this Fri Apr 20 2020 00:00:00 GMT+0530 (India Standard Time) to 2020-04-20T00:00:00.000Z in Javascript?
body: <p>I have a Date format like this <code>"Fri Apr 20 2020 00:00:00 GMT+0530 (India Standard Time)"</code></p>
  
  <p>I want to convert that above format to this format <code>2020-04-20T00:00:00.000Z</code></p>
  
  <p>Actually I tried this <code>JSON.stringify(new Date("Fri Apr 20 2020 00:00:00 GMT+0530 (India Standard Time)"))</code> while using this am getting the output one day before <code>2020-04-19T18:30:00.000Z</code></p>
  
  <p>so please anyone help me to convert this date format  <code>"Fri Apr 20 2020 00:00:00 GMT+0530 (India Standard Time)"</code> like this <code>2020-04-20T00:00:00.000Z</code></p>
  
  <p>Thanks in Advance.</p>