How to extract elements from datetime variable
이전 댓글 표시
I have a datetime variable of 1048576x1 elements, I can convert the format to various options, including showing the days of the week (which is what I am interested in). However, I need to find certain elements in the variable corresponding to a specific day. How can this be done?
답변 (2개)
KSSV
2018년 8월 1일
0 개 추천
REad about datevec. With this you can get year, month, day, hour, minute and second information.
카테고리
도움말 센터 및 File Exchange에서 Dates and Time에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!