How can I set a date field using a date that is in a string?
For example, I have the string "2020-03-13T145004Z" and I want set a date field with that value.
I already tried to use format.format, format.parse and also new Date (string) but they couldn't do the trick.