title: How to compare DateTime in C#?
body: <p>I don't want user to give the back date or time. </p>
  
  <p>How can I compare if the entered date and time is LESS then the current time?</p>
  
  <p>If the current date and Time is 17-Jun-2010 , 12:25 PM , I want user cannot give date before 17 Jun -2010 and time before 12:25 PM.</p>
  
  <p>Like my function return false if the time entered by user is 16-Jun-2010 and time 12:24 PM</p>