Borrar filtros
Borrar filtros

convert a time data into a Epoch/Unix time

14 visualizaciones (últimos 30 días)
Hsinho Huang
Hsinho Huang el 8 de En. de 2017
Comentada: Walter Roberson el 7 de Dic. de 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

Respuesta aceptada

Walter Roberson
Walter Roberson el 8 de En. de 2017
Editada: Walter Roberson el 7 de Dic. de 2018
posixtime( datetime(strcat(DATE, {' '}, TIME), 'InputFormat', 'dd-MMM-yyyy hh:mm:ss:SS') )

Más respuestas (1)

Herbert Guzman
Herbert Guzman el 7 de Dic. de 2018
What toolbox do you need for this function?
  1 comentario
Walter Roberson
Walter Roberson el 7 de Dic. de 2018
r2014b now that I have corrected the function name

Iniciar sesión para comentar.

Categorías

Más información sobre Dates and Time en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by