Use d to represent days of the month:
d
d days appear as a number with no leading zero;
dd days appear as a number with leading zero if relevant;
dd
ddd produces a number with appropriate suffix (e.g. 1st, 2nd).
ddd