フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Datetime command not working as specified

1 回表示 (過去 30 日間)
Jay
Jay 2016 年 5 月 26 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
I have the code
CurDate = datetime('now','format', 'dd/MM/yyyy')
prior to calling CurDate the value shows 26/05/2016
When I call it to change to a string I get the time as well.
Can I stop this from happening?
  1 件のコメント
Walter Roberson
Walter Roberson 2016 年 5 月 26 日
What is it that shows as a date before you do the assignment?
What is it that shows the time as well?
When I try the code you show, CurDate always shows just the date.

回答 (0 件)

この質問は閉じられています。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by