title: Google Apps Script - Date formatting not working
body: <p>I have the following date <code>21:50:04 Nov 13, 2017 PST</code> as String, I'm using the following piece of code to format it (to show only month and day).</p>
  
  <pre><code>Utilities.formatDate(new Date(inData[r][0]), "GMT", 'MMM-dd')
  </code></pre>
  
  <p>The output I'm getting is <code>Nov-14</code>, I have tried changing the zone to <code>GMT-05:00</code> which was still producing the same result.</p>
  
  <p>Can anyone tell me what is the change I have to do so that it will return <code>Nov-13</code> for the same input.</p>