title: Confused about why a labels .Tag property, isn't doing what I think it should
body: <p>I'm using C# in a WinForms application. I'm trying to set the value of a label based on the date of a file. The "File.GetLastWriteTime" method will return "12/31/1600" if it doesn't find the file. If it doesn't, I want the label to show "Not found". When stepping through the code below, the value for the lblSqlC.Tag match's "12/31/1600". yet the "If" statement finds it false.</p>
  
  <pre><code>lblSqlC.Tag = File.GetLastWriteTime(@"c:\sql.exe").ToShortDateString();
  
  if (lblSqlC.Tag == "12/31/1600")
  {
     lblSqlC.Text = "Not Found";
  }
  else
  {
     lblSqlC.Text = lblSqlC.Tag;
  }
  </code></pre>
  
  <p>What am I missing?
  Thanks. </p>