So I have to prove that the d'alembertian of the associated green's function $G(t,t',\vec{r},\vec{r}')$ is equal to zero when given that $\vec{r}\neq\vec{r}'$ $$\left(\frac{1}{c^2}\partial^2 t-\Delta\right)\frac{\delta\left(t-t'-\frac{|\vec{r}-\vec{r}'|}{c}\right)}{R}=0$$ Well for the sake of effectiveness I substituted $t-t'=:\tau$ and $|\vec{r}-\vec{r}'|=:R$. Well then the problem looks like this: $$\left(\frac{1}{c^2}\partial^2 \tau-\Delta\right)\delta\left(\tau-\frac{R}{c}\right)=0$$ The time derivative is very easy but my real problem is, I am confused how to calculate the gradient of the delta-function, as it's dependent on the time and the space coordinates.
So how shall I compute $$\nabla\delta\left(\tau-\frac{R}{c}\right)=?$$ In my course book the result for this term seem to be $$\nabla\delta\left(\tau-\frac{R}{c}\right)= \dot{\delta}\left(\tau-\frac{R}{c}\right)\cdot\left(-\frac{1}{c}\hat{R}\right)$$ with $\hat{R}$ as the unit vector of R.