Today is Monday 15 December 2003, so I put this date in say cell A1 and in cell B1 enter the function =DAY(A1). If B1 is formatted using the custom format d or dd I get 15 as expected, but if I format the cell using ddd or dddd I get Sun or Sunday and not Mon or Monday as I would expect. All the other date cells are one day behind.