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

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

 Réponse acceptée

Takafumi
Takafumi le 6 Juin 2017

0 votes

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

Plus de réponses (0)

Catégories

En savoir plus sur 日付と時刻 dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!