title: ArrayToDataTable not accepting datetime type
body: <p>I have this code here for filtering my areachart by date, but it's not working correctly because <code>arrayToDataTable</code> is not accepting <code>dateTime</code> type.</p>
  
  <p>Any help would be appreciated.</p>
  
  <p>Anyone know how to fix this?</p>
  
  <p>This is my script:</p>
  
  <pre><code>        &lt;script type="text/javascript"&gt;
      google.load("visualization", "1.1", { packages: ["controls", "corechart"] });
      google.setOnLoadCallback(drawChart);
      function drawChart() {
  
  
          $.ajax({
              type: "POST",
              url: "GoogleChart.aspx/GetChartData",
              data: '{}',
              contentType: "application/json; charset=utf-8",
              dataType: "json",
              success: function (r) {
                  var data = google.visualization.arrayToDataTable(r.d);
                  var rangeFilter = new google.visualization.ControlWrapper({
                     controlType: 'ChartRangeFilter',
                     containerId: 'filter-range',
                   options: {
                       filterColumnIndex: 0,
                     ui: {
                          chartType: 'AreaChart',
                          chartOptions: {
                            chartArea: {
                           width: '100%',
                          left: 36,
                         right: 18
            },
            height: 72
          }
        }
      }
    });
                  var chart = new google.visualization.ChartWrapper({
      chartType: 'AreaChart',
      containerId: 'chart_div',
                      options: {
          width: 1800,
        height: 600,
        legend: {
          alignment: 'end',
          position: 'top'
        },
        animation: {
          duration: 500,
          easing: 'in',
          startup: true
        },
        chartArea: {
          height: '100%',
          width: '100%',
          top: 36,
          left: 36,
          right: 18,
          bottom: 36
        }
      }
    });
  
                    var dashboard = new google.visualization.Dashboard(document.getElementById('dashboard'));
                   dashboard.bind(rangeFilter, chart);
                    dashboard.draw(data);
  
              },
  
          });
      }
  &lt;/script&gt;
  </code></pre>