I am calculating lags from a data frame from which I need to carry out regressions per day.
I used the below code to get the parse the dates by combining the date and