Get Local System Date Format
Version 1.0.0.0 (2,02 ko) par
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))
Citation pour cette source
Ivan Smirnov (2024). Get Local System Date Format (https://www.mathworks.com/matlabcentral/fileexchange/38379-get-local-system-date-format), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Créé avec
R2012a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxCatégories
En savoir plus sur Dates and Time dans Help Center et MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0.0 |