mdatestr, mdatenum: A simple alternative of datestr and datenum
The original datestr and datenum are powerful, but slow.
mdatestr, mdatenum only convert date between string with format 'yyyy-mm-dd' and series value (with Excel type).
They cost 20% time of datestr and datenum(with specific format).
% usage
% mdatenum('2010-10-30') % ans = 734421
% mdatestr(73421) % ans = '2010-10-30'
Citation pour cette source
Zhiqiang Zhang (2025). mdatestr, mdatenum: A simple alternative of datestr and datenum (https://fr.mathworks.com/matlabcentral/fileexchange/29184-mdatestr-mdatenum-a-simple-alternative-of-datestr-and-datenum), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
Tags
Remerciements
Inspiré par : DateConvert
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 |
