Modifying Time-Date format showing in Current Folder

9 views (last 30 days)
Ivan Powis
Ivan Powis on 9 Feb 2021
Answered: Nitin Kapgate on 12 Feb 2021
More an irritant than a problem...
How do I change the formatting of the time stamp shown in the Date Modified column of the Current Folder view?
It appears that Matlab uses the current OS locale setting, but then the rather verbose t_fmt_ampm format string rather than the shorter t_fmt formatting.
The former displays 12 hour clock "am" or "pm" then timezone. All I want is to see date and time in 24 hr form, as in normal computer file listings.

Answers (1)

Nitin Kapgate
Nitin Kapgate on 12 Feb 2021
MATLAB uses your operating system's short date format to display dates in both the Current Folder browser and the Command History.
To change how dates display in the Current Folder browser, change the short date format for your operating system.
Then, refresh the date display: Right-click in the Current Folder browser and select Refresh.




Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by