Please take a look at the figure.
The value in cell A3 is the difference between the values in cell A1 and cell A2.
Please clarify why the month value is 01 when it should be zero as the month values are similar in A1 and A2. (All three cells have a date format.)