Filter löschen
Filter löschen

Convert date to datetime

33 Ansichten (letzte 30 Tage)
SuzieChan
SuzieChan am 12 Apr. 2020
Beantwortet: David Hill am 12 Apr. 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';

Akzeptierte Antwort

David Hill
David Hill am 12 Apr. 2020
t = datetime(DateStrings,'InputFormat','dd/MM/yyyy');

Weitere Antworten (0)

Kategorien

Mehr zu Dates and Time finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by