Get Local System Date Format
Version 1.0.0.0 (2.02 KB) by
Ivan Smirnov
This function returns the local system date format as a MATLAB-friendly date pattern.
- Works on both Windows and Mac OS.
- Returns a date pattern that can be used with built-in date-related functions like datenum, datestr etc.
- Can be used to automatically parse dates returned as locale-dependent strings via ADODB.
Usage example:
disp(datestr(today, getsystemdateformat))
Cite As
Ivan Smirnov (2024). Get Local System Date Format (https://www.mathworks.com/matlabcentral/fileexchange/38379-get-local-system-date-format), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2012a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Dates and Time in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |