https://it.mathworks.com/help/matlab/ref/timeseries.setabstime.html
setabstime - Set timeseries or tscollection times as date character vectors - MATLAB
This MATLAB function sets the time vector of tsin to the date character vectors specified in timevals.
settimeseries