How can I change a specific range of dates to the games' season? For illustration: my dataframe d$Date has dates between '08/08/15' and '05/05/16', however I want to change all those dates to the specific season '2015/16'. Furthermore the dates between '08/08/14' and '05/05/15' should be '2014/15' What line of code could accomplish this?