Convert date string to year/month/day : <p>Ajax getResponseHeader("Last-Modified") returns a date string in the following format:</p>

<pre><code>Thu Oct 13 2016 13:05:17 GMT+0200 (Paris, Madrid, sommartid)
</code></pre>

<p>Is it possible with javascript to get the year, month and day so I can store them in separate variables?</p>
