title: How can I perform arithmetic operation with dates in Java?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/4927856/how-to-calculate-time-difference-in-java">How to calculate time difference in java?</a>  </p>
  </blockquote>
  
  
  
  <p>Actually I want to subtract two dates in Java.  I tried a lot but can't succeed.  So anyone please help me.</p>
  
  <pre><code>Date dtStartDate=pCycMan.getStartDate();
  
  Date dtEndDate=pCycMan.getEndDate();
  </code></pre>
  
  <p>How can I subtract these two Dates?</p>