The type of the parameter should be string().

1. The ISO date is string, so you should declare string().
2. The missing parenthesis causes syntax error.