How do I turn a matrix into dates?

I have a have a 3 column matrix (month, day, year) and I need to print them as date formatted like month/day/year as part of a table.

답변 (1개)

KSSV
KSSV 2018년 4월 7일
편집: KSSV 2018년 4월 7일

0 개 추천

Read about datetime
vec = [2018 04 07] ;
datetime(vec)

카테고리

도움말 센터File Exchange에서 Dates and Time에 대해 자세히 알아보기

질문:

2018년 4월 7일

편집:

2018년 4월 7일

Community Treasure Hunt

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

Start Hunting!

Translated by