displaying history for time interval