I am given a list of date variables in dd/mm/yy and I would like to sort the variables out in the form of grouping them together by the specific year. For example, I want all date variables of 2010 to be in 2010 year variable and all date variables of 2011 to be in 2011 year variable.

How do I go about doing this?