CALCULATE DIFFERENCE BETWEEN TWO DATES

CALCULATE DIFFERENCE BETWEEN TWO DATES This program calculates the difference between two dates. This difference which is basically in milliseconds is then converted into the number of days, hours, minutes and seconds. package samples; import java.text.SimpleDateFormat; import java.util.Date; public class DifferenceBetweenTwoDates{ public static void main(String[] args) { String dateStart = "01/14/2012 09:29:58"; String dateStop = … Continue reading CALCULATE DIFFERENCE BETWEEN TWO DATES