hi, can convert x=('2005-04-20') into 2005,04,20
I wan to say that I got date from text using textscan i.e length of x=1
when I used datenum('2006-04-20','yyyy-mm-dd')
ans =
7.3279e+005and when usedatenum('2006-04-19','yyyy-mm-dd')
ans =
7.3279e+005it is not sensitive for small changes
but when used datenum(2006,04,19)
ans =
732786datenum(2006,04,20)
ans =
datenum(2006,04,19)
ans =
732786it is perfect can got that?thanks
Best Answer