title: Min/Max of dates in an array?
body: <p>How can I find out the min and the max date from an array of dates? Currently, I am creating an array like this:</p>
  
  <pre><code>var dates = [];
  dates.push(new Date("2011/06/25"))
  dates.push(new Date("2011/06/26"))
  dates.push(new Date("2011/06/27"))
  dates.push(new Date("2011/06/28"))
  </code></pre>
  
  <p>Is there a built-in function to do this or am I to write my own?</p>