Added getIntervalFromNow method