Réponse acceptée

Cris LaPierre
Cris LaPierre le 22 Fév 2022

0 votes

varname1 = categorical(["2022/02/01";"2022/02/01"])
varname1 = 2×1 categorical array
2022/02/01 2022/02/01
varname12 = datetime(string(varname1),'InputFormat','yyyy/MM/dd')
varname12 = 2×1 datetime array
01-Feb-2022 01-Feb-2022

Plus de réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by