I'm having some troubles with a java code that I'm scripting.
It's purpose is to let the user write the start hours, minutes and seconds, and the end hours, minutes and seconds.. and then calculate how many hours, minutes and seconds there are from start to end.
I've already got it so they can write in their stuff, and that.
I'm just having troubles with solving the counting part.
Obviously, it's just no to take the end seconds - the start seconds, because what if the start second is less than the end seconds? Then another MINUTE must be withdrawed... soo, how would I solve this?