필터 지우기
필터 지우기

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