MATLAB Programming Fundamentals - MathWorks

(やまだぃちぅ) #1


10.03.2015 00:00 'Joe' 12.12.2014 14:31
10.03.2015 00:00 'Bob' 12.12.2014 15:33
11.03.2015 00:00 'Bob' 12.12.2014 11:29
12.03.2015 00:00 'Kim' 12.12.2014 12:09
12.03.2015 00:00 'Joe' 12.12.2014 13:05


Combine the date and time information from two different table variables by adding
T.Date and the time values in T.Time. Extract the time information from T.Time using
the timeofday function.


myDatetime = T.Date + timeofday(T.Time)


myDatetime =
10.03.2015 14:31
10.03.2015 15:33
11.03.2015 11:29
12.03.2015 12:09
12.03.2015 13:05


See Also


readtable | timeofday


See Also
Free download pdf