convert a time data into a Epoch/Unix time

14 Ansichten (letzte 30 Tage)
Hsinho Huang
Hsinho Huang am 8 Jan. 2017
Kommentiert: Walter Roberson am 7 Dez. 2018
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

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 8 Jan. 2017
Bearbeitet: Walter Roberson am 7 Dez. 2018
posixtime( datetime(strcat(DATE, {' '}, TIME), 'InputFormat', 'dd-MMM-yyyy hh:mm:ss:SS') )

Weitere Antworten (1)

Herbert Guzman
Herbert Guzman am 7 Dez. 2018
What toolbox do you need for this function?

Kategorien

Mehr zu Dates and Time finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by