This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
How do you compare two Timestamp values to see if one is 'x' minutes older than another, for example? If you have one Timestamp, say t1 and another, t2, how can you see if the difference in time between them is, say 5 minutes? Basically, I need to be able to somehow take the difference between to Timestamps to see how much time has elapsed. From looking at the API, there doesn't seem to be a simple way to do this. Any help or advice would be appreciated. Thanks! -- Mike