title: Compare date string with current date?
body: <p>I'm reading a date value from a sql data reader to a string data type variable like this.</p>
  
  <pre><code>electionPosDate = Convert.ToDateTime(reader["elecPODate"]).ToString("dd/MM/yyyy");
  </code></pre>
  
  <p>How can I compare it with current system date in an if condition ?</p>
  
  <pre><code>if(electionPosDate==_____?)
  {
  
  }
  </code></pre>