In my opinion this should be working:
but it is not working, it returns a missing value.
Then this is working, while in my opinion it should not be working:
And finally this is working as it should, and I know how to use this fact to resolve the problem above:
My question is: Is the the behavour of -monthly- a bug that I should report to Stata Corp? Or am I doing something wrong and -monthly- can be made work if used in some more appropriate way?
Code:
. dis %tm monthly("201901", "YM") .
Then this is working, while in my opinion it should not be working:
Code:
. dis %td date("201901", "YM") 01jan2019
Code:
. dis %tm mofd(date("20190101", "YMD")) 2019m1
Comment