convert a time data into a Epoch/Unix time

14 次查看(过去 30 天)
The time data are saved as DATE and TIME in the two columns of a Excel worksheet. How can I convert them into a Epoch/Unix time by Matlab?
DATE TIME
24-DEC-2016 04:31:04:59

采纳的回答

Walter Roberson
Walter Roberson 2017-1-8
编辑:Walter Roberson 2018-12-7
posixtime( datetime(strcat(DATE, {' '}, TIME), 'InputFormat', 'dd-MMM-yyyy hh:mm:ss:SS') )

更多回答(1 个)

Herbert Guzman
Herbert Guzman 2018-12-7
What toolbox do you need for this function?

类别

Help CenterFile Exchange 中查找有关 Dates and Time 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by