changed the server to return an error response string when the date does not match a specific format