hello!
i am trying to launch a java program that calculates the time of launch.
let's say i want to arrive at a certain place at 10:06:55 and it takes me 1:24:40 hours to get there, so to be able to write such program i should take in consideration several issues: if i substract the 2 numbers i wont get the right time cz i will to create a variable for hours,minutes and seconds so when it exceeds 60 it should be added to the next one.to avoid doing this , is there any other easier process that i can do?
thank you

you're overlooking the obvious. you won't have to calculate them all yourself, Java has built in ways to do that.

check this link for an example.

thank you. i'll check out, i am not new java but got limited information and no details.