Testsubbu
asked on
How to find difference in time between two Date objects
Dear java experts ,
Can somebody help me find the difference in time inthe form of STRING.
SimpleDateFormat sdf = new SimpleDateFormat("hh:mm a dd-MMM-yyyy");
Date Time1=sdf.parse(request.ge tParameter (time1).tr im());
Date Time2=sdf.parse(request.ge tParameter (time2).tr im());
I really want time 2 - time 1 in minutes and that too in STRING.
any help will be very highly apprecaiatted.
thanks,
testsubbu
Can somebody help me find the difference in time inthe form of STRING.
SimpleDateFormat sdf = new SimpleDateFormat("hh:mm a dd-MMM-yyyy");
Date Time1=sdf.parse(request.ge
Date Time2=sdf.parse(request.ge
I really want time 2 - time 1 in minutes and that too in STRING.
any help will be very highly apprecaiatted.
thanks,
testsubbu
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.