Possible Duplicate:
In Java, how do I get the difference in seconds between 2 dates?
Hi i have two dates as follows
1970-01-01 and 2011-08-01 which are in yyyy-mm-dd format.
How to find out the seconds difference between two above dates.
Possible Duplicate:
In Java, how do I get the difference in seconds between 2 dates?
Hi i have two dates as follows
1970-01-01 and 2011-08-01 which are in yyyy-mm-dd format.
How to find out the seconds difference between two above dates.
System.currentTimeMillis() / 1000