I have a string in the format = “4-Jul-2017” variable is called “PostingPeriodFormatted”
When I throw on a dateparse method in the mapper like so:
Date.parse($PostingPeriodFormatted, “yyyy MM dd”)
I get the following error: Failure: The date format string is invalid, Reason: Invalid format: “4-Jul-2017” is malformed at “-Jul-2017”, Resolution: Please provide a format string that follows the Java SimpleDateFormat syntax
What could be wrong?