필터 지우기
필터 지우기

Seconds counter within a day?

조회 수: 1 (최근 30일)
pavlos
pavlos 2016년 2월 3일
답변: Walter Roberson 2016년 2월 3일
Hello,
Please help me with the following:
I need to count the seconds from one period to another within a day.
For example,
the start point would be 00:00:01
and the final point would be (for example)
18:06:00
Thank you.
Best,
Pavlos

채택된 답변

Walter Roberson
Walter Roberson 2016년 2월 3일
t = datenum('18:06:00') - datenum('00:00:01');
seconds = t * 24 * 60 * 60;

추가 답변 (0개)

카테고리

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