title: Calculating difference between two dates in Google Apps Script
body: <p>I am getting datetime from an API call like following-:</p>
  
  <p><strong>2017-11-21T20:23:26+0000</strong></p>
  
  <p>Now I want to compare this with today's date and calculate the difference in number of days, how can i do that in google apps script.</p>
  
  <p>thank you for your help.</p>