Unable to resolve the name data.Time.
Show older comments
My colume has Time in this formart HH:MM:SS, how do i covert this column to numerical value?
3 Comments
Rik
on 17 Jun 2022
What have you tried? And are you working with a table or a cell?
Cris LaPierre
on 17 Jun 2022
The title and question seem unrelated.
What numerical value are you wanting to turn it into? Is there a reason why you can't keep it a datetime?
Paulus Tjakula
on 17 Jun 2022
Answers (1)
Walter Roberson
on 17 Jun 2022
0 votes
duration() the column. seconds() to get a numeric value.
Categories
Find more on Descriptive Statistics 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!