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
fadi 751 0 Newbie Poster
stultuske 1,116 Posting Maven Featured Poster
fadi 751 0 Newbie Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.