필터 지우기
필터 지우기

Conversion of cumulate day of the year and year into Date/Month/Year

조회 수: 2 (최근 30일)
Nerma Caluk
Nerma Caluk 2022년 6월 24일
답변: Star Strider 2022년 6월 24일
If I have a date in format, for example; 344th day of 1970, how to covert it to Day/Month/Year format (datetime)?

답변 (1개)

Star Strider
Star Strider 2022년 6월 24일
The datetime function is remarkably robust (more so that I previously appreciated)!
Try this —
D = datetime(1970,1,344)
D = datetime
10-Dec-1970
Check = day(D,'dayofyear') % Check
Check = 344
.

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

태그

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by