From: d on
hi,
I have some data in the format of 'mm/dd/yyyy, HH:MM:SS.FFF', and I use datenum()to represent it.
I created a vector of time differences: t_diff = diff(datenum(DATA))
and I now wish to look at the result in [hours] units, instead of [milisec].
do I simply divide 't_diff' by (1000ms*60s*60m) ?
how do I convert the result buck to date string?
would datestr('mm/dd/yyyy, HH') give the correct result?

many thanks,
DK