If I execute the following code
datenum('03/08/2009',23)datenum('03/08/2009',24)datenum('03/08/2009','dd/mm/yyyy')
I see the result
ans = 733840 ans = 733840 ans = 733988
Note that the first two commands return the same date number, although I used a different format number. If I use the format string instead, as in the third command, I see the expected result.
Best Answer