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日付と時刻 についてさらに検索

質問済み:

2017 年 6 月 6 日

回答済み:

2017 年 6 月 6 日

Community Treasure Hunt

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

Start Hunting!