Hello,
Beginner Stata user here.

So I have two date variables in 13Nov2019 type format, which are a start and end date variable. I also have a group variable. These are the vars:

group start_date end_date

Per group, I want to compare the start_date of an observation to the end_date of the previous observation, and flag if there are any overlaps.

Do you have any advice on how I can do this?