I have a rather simple question:
I have a date variable like "01/08/2007", how should the code look like if I want to drop all observations which are not observed in 2007?
Alternatively how can I generate a new variable which only consist of the year from the date-variable above?
Hope someone has an answer?
/Jonas
I have a date variable like "01/08/2007", how should the code look like if I want to drop all observations which are not observed in 2007?
Alternatively how can I generate a new variable which only consist of the year from the date-variable above?
Hope someone has an answer?
/Jonas
Comment