datevec output in 24H format
조회 수: 17 (최근 30일)
이전 댓글 표시
Hi All,
I found out that the output of datevec function is in 12-hour format. How to turn it into 24-hour format?
Thank you.
댓글 수: 0
답변 (1개)
Star Strider
2016년 4월 22일
You can easily specify the format with the format string you want.
From the documentation:
'HH:MM:SS' 15:45:17
'HH:MM:SS PM' 3:45:17 PM
'HH:MM' 15:45
'HH:MM PM' 3:45 PM
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Dates and Time에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!