Time difference calculation between the timestamps

There's a thread on this here - Time between timestamp