title: C# How would I check if a date that is currently a string is today?
body: <p>I have a date that is in a format called 'String(Generalized-Time)', see <a href="http://msdn.microsoft.com/en-us/library/ms684436%28VS.85%29.aspx" rel="nofollow noreferrer">MSDN linked here</a> , I need to check if this date is today and if it is do X. </p>
  
  <p>To complicate this slightly I have a int that is in this example 4, if the int is 4 then I want to check if the date that is in the 'String(Generalized-Time)' format is in the last 4 days, the int maybe 7, 24, 30 etc. </p>
  
  <p>How would I write this? I'm a novice and very grateful of the help.</p>
  
  <p>Thanks</p>