I have dates %tdD_m_Y format and I want to create an indicator if they are exactly one month apart, that means 01 Feb 2001 to 01 Mar 2001 to 01 Apr 2001 is one month, not the number of days in between the dates.

Is there a possibility (without Stata 17 date_diff function) to calculate this? Thank you.