datetime format issue?
Mostrar comentarios más antiguos
As a continuation of a previous question,
datelimits = datetime({'20080401', '20080402'}, 'InputFormat', 'yyyyMMdd');
outputs
datelimits =
1x2 datetime array
01-Apr-2008 02-Apr-2008
Although it should output
20080401 20080402
Please advise how to fix this issue so that it would output in the correct format.
Respuesta aceptada
Más respuestas (1)
datelimits = datetime({'20080401', '20080402'}, 'Format', 'yyyyMMdd')
1 comentario
alpedhuez
el 12 de Mzo. de 2022
Categorías
Más información sobre Dates and Time en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!