composer require filipgolonka/prophecy-datetime-approximate-token
Inside some example:
$collaborator->methodAcceptedDatetime(new DatetimeApproximateToken(new \DateTime()))->shouldBeCalled();
You can also use this token for collaborator method accepted date string:
$collaborator->methodAcceptedDateString(new DatetimeApproximateToken(new \DateTime()))->shouldBeCalled();