Hi All,

How to compare two times in HH:MM:SS format in java?

for example: Time_1=15:30:00 and Time_2 = 16:12:51

i need to run a if loop based on the above time values,as follows:

if(Time_1 >= Time_2){

syso("Logout Operation initiated....");

}