Use only the last 288 dates (24 hrs for 5 min measures).