From: Oleg Komarov on
DDates = [...
20090102
20090103
20090104];

datestr(datenum(num2str(DDates), 'yyyymmdd'), 'yyyy-mm-dd')
ans =
2009-01-02
2009-01-03
2009-01-04

If you have stored DDates in cellformat convert them with cell2mat.

Oleg
 | 
Pages: 1
Prev: project
Next: Fill a barplot with an image