Add fn elapsedDays