https://www.projectguru.in/setting-time-variable-time-series-analysis-stata/
How to set the 'Time variable' for time series analysis in STATA?