필터 지우기
필터 지우기

convert a time data into a Epoch/Unix time

조회 수: 14 (최근 30일)
Hsinho Huang
Hsinho Huang 2017년 1월 8일
댓글: Walter Roberson 2018년 12월 7일
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?
  댓글 수: 1
Walter Roberson
Walter Roberson 2018년 12월 7일
r2014b now that I have corrected the function name

댓글을 달려면 로그인하십시오.

카테고리

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