Unix 時間 をMATLABで扱うことができますか?

R2017a で、UNIX 時間を 時間変換できますか?

 采纳的回答

Takafumi
Takafumi 2017-6-6

0 个投票

datetime 関数で扱うことができます。
dateType プロパティを 'posixtime' に変更します。
https://jp.mathworks.com/help/matlab/ref/datetime.html
datetime(unixtime,'ConvertFrom','posixtime')

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 日付と時刻 的更多信息

Community Treasure Hunt

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

Start Hunting!