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

This closes #102