Convert date to datetime

4 ビュー (過去 30 日間)
SuzieChan
SuzieChan 2020 年 4 月 12 日
回答済み: David Hill 2020 年 4 月 12 日
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';

採用された回答

David Hill
David Hill 2020 年 4 月 12 日
t = datetime(DateStrings,'InputFormat','dd/MM/yyyy');

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDates and Time についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by