Improved the error message when setting the date/time fails.

This closes #102
Merge pull request #118 from diederikdehaas/improve-rdate-error-message

Improved the error message when setting the date/time fails.