Info
此问题已关闭。 请重新打开它进行编辑或回答。
Datetime command not working as specified
1 次查看(过去 30 天)
显示 更早的评论
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
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!