Use exit_with_error with value_get on date field (rather than returning an error string)