Dear all,

I have a date variable in my dataset in the following format:

27feb2015
20feb2015
13feb2015

and so on. I wanted to create another variable that indicates whether the different dates belong to the first week of month, second week and so on. Is there a way to do this?

Many thanks