I am working with 'dates' in the following format (Day-Month-year):
01-07-03
01-07-03
01-07-03
01-07-03
01-07-03
01-07-03
09-07-03
09-07-03
09-07-03
10-07-03
10-07-03
10-07-03
14-07-03
14-07-03
15-07-03
15-07-03
15-07-03
17-07-03
17-07-03
I actually want to extract month and year from the dates but given the format I am unable to do so. Kindly help how can I extract month and year from these dates or possibly convert them to another format, which makes it easier to work in Stata. Thank You.