title: Receiving an Arabic datetime error in asp.net
body: <p>I use ADO disconnected mode to get data from database by filling dataset ds.
  All data come true except the date field</p>
  
  <pre><code>string strDate = ds.Tables[0].Rows[0]["H_DT"].ToString();
  </code></pre>
  
  <p>it throws an exception says:</p>
  
  <blockquote>
    <p>Specified time is not supported in this calendar. It should be between
    04/30/1900 00:00:00 (Gregorian date) and 11/16/2077 23:59:59
    (Gregorian date), inclusive.</p>
  </blockquote>
  
  <p>I tried to write this code</p>
  
  <pre><code>System.Threading.Thread.CurrentThread.CurrentCulture = new CultureInfo("ar-sa");
  System.Threading.Thread.CurrentThread.CurrentUICulture = new CultureInfo("ar-sa");
  </code></pre>
  
  <p>to change the culture to Arabic but without any luck.</p>
  
  <h2>Update</h2>
  
  <p>The following is screenshot of quick watch for the variable</p>
  
  <p><img src="https://i.stack.imgur.com/P8ZF3.jpg" alt="enter image description here"></p>