Skip to main content

I am sending this date, Oct-23, through the DateTimeConverter. I have set t he input format as %b-%y2099. The DateTimeConverter is failing to parse the date with the message "Attribute(string: UTF-8)         : `fme_expression_warnings{0}.message' has value `Failed to evaluate expression '@DateTimeParse(Oct-23,%b-%y2099,repair)'. Result is set to null'".

 

What am I doing wrong?

 

I have attached a sample project that demonstrates the failure.

My FME Form version is FME(R) 2023.1.1.0 (20230928 - Build 23631 - WIN64).

 

https://docs.safe.com/fme/2023.1/html/FME-Form-Documentation/FME-Transformers/!Transformer_Parameters/Date-Time-Functions.htm#Format

I solved my problem. The input string appears to need a day inserted, e.g., Oct-23 -> Oct-01-23.


Reply