title: How to check if specific time has passed
body: <p>I am start my operation and one of the argument my command line application get is <code>Number</code> that represent how much time my operation need to run.</p>
  
  <pre><code>int duration = int.Parse(args[0]) // run my operation for this time in minutes
  </code></pre>
  
  <p>This is what i have try (not working):</p>
  
  <pre><code>...
  DateTime start = DateTime.Now;
  // check whether this time in minutes passed
  if (start.Minute &gt; duration )
      break;
  </code></pre>