Finish the functions of setting time intervals (from last season , last
year and customize time interval)