Hello,

I am using Stata/SE 14.2 for Mac. I am working on my thesis that is about resistant bacteria in a country with wet and dry season. I would like to investigate whether the season has an impact on the prevalence of bacteria in hospitalized patients. I have a time variable, that looks like this:

ca_dateadmission_t
17jul2016 15:00:13

I would like to generate a variable that is 1 if the patient was admitted in june, september or october. Is there a way I can do that? Thank you very much!