フィルターのクリア

How do I get local system format (like dd-mm-yyyy or mm/dd/yyyy) in matlab ?

7 ビュー (過去 30 日間)
MUTHUKUMAR SETHURAM
MUTHUKUMAR SETHURAM 2017 年 1 月 19 日
コメント済み: Walter Roberson 2017 年 1 月 19 日
df = 'mm/dd/yyyy';datestr(datenum(today),df)

回答 (1 件)

Walter Roberson
Walter Roberson 2017 年 1 月 19 日
datestr(today, 'local')
Or is the question to find out what the system format is ?
  3 件のコメント
MUTHUKUMAR SETHURAM
MUTHUKUMAR SETHURAM 2017 年 1 月 19 日
Please see this Capture.PNG
Walter Roberson
Walter Roberson 2017 年 1 月 19 日
To avoid having to write some C++ code to retrieve the information, it is plausible that you might be able to find a Java method for this, or an ActiveX method. This is some sample VBS code at http://www.vb-helper.com/howto_format_time.html

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

タグ

タグが未入力です。

Community Treasure Hunt

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

Start Hunting!

Translated by