Test that date can be entered as a string.