title: Generate datetime (exp: 09.02.2009) to string date (exp:Monday)
body: <p>I am trying to learn or generate any codes to learn string <code>day("26.02.2009")</code> ---> give me "wednesday"</p>
  
  <p>I need a static datefunction in C#.</p>
  
  <p>For example:</p>
  
  <pre><code>datetime Str_day= Returnstringdate("09.02.2009");  ----&gt;Str_day="Monday";
  
  Returnstringdate("09.02.2009")
  
  {
       it must return Monday!!!
  }
  </code></pre>
  
  <p>OR</p>
  
  <pre><code>Returnstringdate("09.02.2009 12:30:32")
  
  {
       it must return Monday!!!
  }
  </code></pre>