Convert date to datetime

4 visualizaciones (últimos 30 días)
SuzieChan
SuzieChan el 12 de Abr. de 2020
Respondida: David Hill el 12 de Abr. de 2020
Hi
Is it possible to convert 01/01/1990 to datetime format?
What is the code to do this?
Thank you.
Date = datetime(table{:,1},'ConvertFrom','datenum');
Time.Format = 'dd MMM yyyy , HH:mm:ss';

Respuesta aceptada

David Hill
David Hill el 12 de Abr. de 2020
t = datetime(DateStrings,'InputFormat','dd/MM/yyyy');

Más respuestas (0)

Categorías

Más información sobre Dates and Time en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by