I have data with a variable that records the date of an event (DD/MM/YYY)
I would like to create a new variable (quarter: 1-4) if the date of an event falls within a specific quarter of the year.
Could someone help with the code that will create this new variable identifying which quarter the event took place?
Thanks
I would like to create a new variable (quarter: 1-4) if the date of an event falls within a specific quarter of the year.
Could someone help with the code that will create this new variable identifying which quarter the event took place?
Thanks
Comment