How to find out seconds between two dates in java
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/1970239/in-java-how-do-i-get-the-difference-in-seconds-between-2-dates">In Java, how do I get the difference in seconds between 2 dates?</a>  </p>
</blockquote>



<p>Hi i have two dates as follows</p>

<p>1970-01-01 and 
2011-08-01 which are in yyyy-mm-dd format.</p>

<p>How to find out the seconds difference between two above dates.</p>
