Add method to calculate a time-interval as the difference between two timestamps