The DateTimeParse function is driving me mad (in FME 2018.1)!
What is the problem with this...?
Failed to evaluate expression '@DateTimeParse(3-Jun-2020,%Y%m%d,repair)'. Result is set to null
I have also tried @DateTimeFormat and @DateTimeCast and things like putting quotes around the input etc. Nothing works.
I want to use the function because I want to convert a value of "3 June 2020" to 2020-06-03 to write into a date field in SQL Server. I have already use the string functions to extract the substrings for day (3), 3 character month (Jun) and year (2020). I could go the long winded way and write these to separate attributes then use the DateTimeConverter transformer, but why should I?