Azzera filtri
Azzera filtri

convert a time data into a Epoch/Unix time

14 visualizzazioni (ultimi 30 giorni)
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

Risposta accettata

Walter Roberson
Walter Roberson il 8 Gen 2017
Modificato: Walter Roberson il 7 Dic 2018
posixtime( datetime(strcat(DATE, {' '}, TIME), 'InputFormat', 'dd-MMM-yyyy hh:mm:ss:SS') )

Più risposte (1)

Herbert Guzman
Herbert Guzman il 7 Dic 2018
What toolbox do you need for this function?

Categorie

Scopri di più su Dates and Time in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by