Hi there,
I have a date variable formatted as 1980m1 etc. I want to create a dummy variable which is equal to 1 if an individual was born between say 1981m12 to 1983m2 and 0 otherwise.

Your assistance is kindly needed.

Prince