mdatestr, mdatenum: A simple alternative of datestr and datenum

the original datestr and datenum are powerful, but slow. The two functions' are limited, but faster.
ダウンロード: 1.4K
更新 2010/10/29

ライセンスの表示

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'

引用

Zhiqiang Zhang (2024). mdatestr, mdatenum: A simple alternative of datestr and datenum (https://www.mathworks.com/matlabcentral/fileexchange/29184-mdatestr-mdatenum-a-simple-alternative-of-datestr-and-datenum), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2010b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersDates and Time についてさらに検索
タグ タグを追加
謝辞

ヒントを得たファイル: DateConvert

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0