Calculating difference in time
I need to print something out every 50 seconds. I figured I would calculate that 50 seconds had passed by subtracting my current time from the previous time.
 
Let's say I know the hour, minute and seconds of the previous and current time, how do I calculate how much time had passed in seconds? 
Calculating difference in time
===

I need to print something out every 50 seconds. I figured I would calculate that 50 seconds had passed by subtracting my current time from the previous time.
 
Let's say I know the hour, minute and seconds of the previous and current time, how do I calculate how much time had passed in seconds? 