www.gusucode.com > matlab 案例源码 matlab代码程序 > matlab/ConvertDatetimeArrayToDateStringExample.m
%% Convert datetime Array to Date Strings %% t = [datetime('now');datetime('tomorrow')] DateString = datestr(t) %% % |datestr| returns text representing the dates and times in the format, day-month-year % hour:minute:second.