Add Time spans in data analysis