Need help with datestr
조회 수: 3 (최근 30일)
이전 댓글 표시
datestr returns characters as '24-Jan-2003 11:58:15', but what I need to do is just get the time stamp rather than the date attached as well, would any one know how to extract just the time using datestr or any other method? Any help would be great thank you.
댓글 수: 0
채택된 답변
Azzi Abdelmalek
2013년 8월 16일
편집: Azzi Abdelmalek
2013년 8월 16일
yourdate='16-Aug-2013 15:54:31'
datestr(yourdate,'HH:MM:SS')
댓글 수: 0
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!