title: Get DateTime on querystring
body: <p>there are 2 variable in my querystring:</p>
  
  <pre><code>&amp;Start=Mon Apr 02 2012 00:00:00 GMT+0200&amp;End=Thu Apr 26 2012 00:00:00 GMT+0200
  </code></pre>
  
  <p>when i try to get it </p>
  
  <p>like this:</p>
  
  <pre><code>DateTime EndDate = Convert.ToDateTime(Request.QueryString["End"]);
  </code></pre>
  
  <p>or this:</p>
  
  <pre><code>DateTime date = DateTime.ParseExact(Request.QueryString["Start"], "dd/MM/yyyy", System.Globalization.CultureInfo.CurrentUICulture.DateTimeFormat);
  </code></pre>
  
  <p>i got the message :
  The string was not recognized as a valid DateTime.</p>
  
  <p>Anybody can help me? </p>
  
  <p>PS: i use devexpress Component</p>
  
  <pre><code> &lt;dx:ASPxDateEdit ID="ASPxDateEdit_Synthe_Fin" runat="server" Width="100px" ClientInstanceName="ASPxDateEdit_Synthe_Fin"&gt;
                                                   &lt;/dx:ASPxDateEdit&gt;
  
    &lt;dx:ASPxButton ID="ASPxButton_Synthese" runat="server" Text="Synthese" AutoPostBack="False"&gt;
                               &lt;ClientSideEvents Click="function (s, e) { e.processOnServer = false; window.open('Report/Syntehse.aspx?CientID='+ASPxComboBox_Client.GetValue()+'&amp;Start='+ASPxDateEdit_Synth_Deb.GetValue()+'&amp;End='+ASPxDateEdit_Synthe_Fin.GetValue());}" /&gt;
                          &lt;/dx:ASPxButton&gt;
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/H7Yb7.jpg" alt="enter image description here">
  <img src="https://i.stack.imgur.com/MPgdy.jpg" alt="enter image description here"></p>
  
  <p>Thanks you in advance</p>