Convert date from number to format in matllab
2 次查看(过去 30 天)
显示 更早的评论
I have original time and date format as mentioned below:
2/17/2020 9:48:18 AM
I did forecasting using this , and after forecasting output date in the plot appears in number format like :
43878.4085416667
How can i convert it back to original date and time format ?
采纳的回答
Walter Roberson
2021-1-31
outd = datetime(out, 'convertfrom', 'excel');
plot(outd)
10 个评论
Walter Roberson
2021-2-5
编辑:Walter Roberson
2021-2-5
I was right, the bug is in character #11 of line 7 of your code. (Prove me wrong!)
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Calendar 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!