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.
Related Posts with Difference between dates in month
Counting the occurrence of “directors name”Hello respected experts, I am counting the number of times the same director has served on a board,…
ppml_panel_sg estimator: fixed effectsHi, I am using the ppml_panel_sg estimator for a gravity model with fixed effects (exporter-time, i…
How to recover stored results from e() class?Hello, I am working on mwitch command of Stata. I work in Stata 15. I ran the following: . mswitch …
Overlay graphs in Panel data without -collapse- or creating by group averagesHi, If we collapse data, we essentially create new data set containing averaged values. By creating…
How to create a simple table with my own specifications?Hi, I want to create my own table with column names and observations in stata. I have been searchin…
Subscribe to:
Post Comments (Atom)
0 Response to Difference between dates in month
Post a Comment