tk_index function

Extract an index of date or datetime from time series objects, models, forecasts