Separating datetime data ('yyyy-MM-dd HHmm:ss' Into 'hh:mm:ss')
Show older comments
Hi, Community ~
I have a simple question... I have a datetime data like this :
2017-12-31 23:34:00
2017-12-31 23:35:00
2017-12-31 23:36:00
2017-12-31 23:37:00
2017-12-31 23:38:00
2017-12-31 23:39:00
2017-12-31 23:40:00
2017-12-31 23:41:00
2017-12-31 23:42:00
2017-12-31 23:43:00
2017-12-31 23:44:00
2017-12-31 23:45:00
2017-12-31 23:46:00
2017-12-31 23:47:00
2017-12-31 23:48:00
2017-12-31 23:49:00
2017-12-31 23:50:00
I just want to know, how to convert it or extract the data to become duration only? (I want to get the duration Data only)
23:34:00
23:35:00
23:36:00
23:37:00
23:38:00
23:39:00
23:40:00
23:41:00
23:42:00
23:43:00
23:44:00
23:45:00
23:46:00
23:47:00
23:48:00
23:49:00
23:50:00
Whats the code for the extraction or conversion? Thank you so much...
Accepted Answer
More Answers (0)
Categories
Find more on Data Type Conversion in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!