To change the format, use dot notation to set the Format property of the table variable.
Then, replace the data in the Table UI component.
tdata.Date.Format = 'dd/MM/uuuu';
uit.Data = tdata;
When the ColumnEditable property of the Table UI component is true, users can
change date values in the app. When the column is editable, the app expects input values
that conform to the Format property of the datetime array. If the user enters an invalid
date, the value displayed in the table is NaT.
Duration Data
duration values display according to the Format property of the corresponding table
variable (a duration array).
f = uifigure;
mtime = duration([0;0],[1;1],[20;30]);
dist = [10.51; 10.92];
tdata = table(mtime,dist,'VariableNames',{'Time','Distance'});
uit = uitable(f,'Data',tdata);
To change the format, use dot notation to set the Format property of the table variable.
tdata.Time.Format = 's';
uit.Data = tdata;
Table Array Data Types in App Designer Apps