utilities
[wrf-fire-matlab.git] / util1_jan / times2datetime.m
blob0576b4ba40cad76042b1c253edc4edd413d00a7d
1 function d=times2datetime(times)
3 if ~isvector(times),
4     error('input must be vector');
5 end
7 timec = char(times(:)');
9 d = datetime(times,'InputFormat','yyyy-MM-dd_HH:mm:ss');
11 end