I am trying to use the php DateTime objects modify function to modify he date to a specific date in the month i.e. 10th or 20th etc.
I have tried all of the following, none of which work:
$d = new DateTime();
$d->modify('10th day');
$d->modify('10th');
$d->modify('10th of this month');
$d->modify('10th of the month');