Flipped time span calculation so that results are positive