Get Local System Date Format

This function returns the local system date format as a MATLAB-friendly date pattern.
299 téléchargements
Mise à jour 27 sept. 2012

Afficher la licence

- 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 Linux
Catégories
En savoir plus sur Dates and Time dans Help Center et MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Publié le Notes de version
1.0.0.0