https://de.mathworks.com/help/finance/date2time.html
date2time - Time and frequency from dates - MATLAB
This MATLAB function computes time factors appropriate to compounded rate quotes between the Settle and Maturity dates.
time and frequencydatesmatlab