title: Highcharts: x-value as date
body: <p>I have a list of arrays as [x,y] for Highcharts. My x-values are timestamps in the format <code>2013-04-30 00:04:00</code>. </p>
  
  <p>Here's an example of the Highchart options: </p>
  
  <pre><code>series: [{
              name: '2013-04-30',
              data: [['2013-04-30 00:00:00', 30], ['2013-04-30 00:01:00', 32], ['2013-04-30 00:02:00', 40], ['2013-04-30 00:03:00', 21], ['2013-04-30 00:04:00', 28]]
  }]
  </code></pre>
  
  <p>My timestamps may occur at irregular intervals. </p>
  
  <p>I realized I couldn't do this bc the timestamps are strings, and they simply get interpreted as the name of the point. Do I need to convert the timestamps into Date.UTC? Is this the only way? e.g. <code>2013-04-30 00:01:00 -&gt; Date.UTC(2013,04,30,0,1,0)</code>. I'm guessing this will take a lot of string concatenation with "Date.UTC(" + year +"," + month + "," + day, etc... + ")"</p>
  
  <p>Just trying to figure out if there is an easier way to do this...Thanks. </p>