MATLAB: Datetime variables from a timerange

datetimetimerange

I have a timerange variable with a start time and end time. Is there a way extract those datetime values from a timerange variable?

Best Answer

There are no public properties or methods to examine that information. However you can struct() the object and examine the fields "first" and "last"