title: passing to MVC Control parameter from Javascript
body: <p>In my jQuery code I am calling a controller action and I'm trying to pass in dates from the fullcalendar plugin:</p>
  
  <pre><code>url: ('Home/List/?dateValueStart=' +  new Date($('#calendar').fullCalendar('getView').start))
  + '&amp;dateValueEnd=' + new Date($('#calendar').fullCalendar('getView').end),
  </code></pre>
  
  <p>In my controller I have my method setup like this:</p>
  
  <pre><code>public ActionResult List(String dateValueStart, String dateValueEnd)
  </code></pre>
  
  <p>When I debug dateValueStart I see this:</p>
  
  <pre><code>Tue Oct 1 00:00:00 MDT 2013
  
  DateTime dateVal = Convert.ToDateTime(dateValueStart);
  </code></pre>
  
  <p>But when I try to convert this to a date it tells me it is invalid.  </p>
  
  <blockquote>
    <p>String was not recognized as a valid DateTime.</p>
  </blockquote>
  
  <p>How can I get a date close to 10/1/2013?</p>