Skip to main content

I get the following message which I do not understand.

fme_expression_warnings{0}.message (string): Failed to evaluate expression '@DateTimeCreate(2018,11,5,6,9,14,0)'. Result is set to null

I tried filling the values as string values and converted to @int() and get the same result. Also tried with -0 as the last value.

Check the warning shown in the log.

The syntax of a UTC offset must be (+|-)hh:mm, (+|-)hhmm, or (+|-)hh


Check the warning shown in the log.

The syntax of a UTC offset must be (+|-)hh:mm, (+|-)hhmm, or (+|-)hh

See also here to learn more: Date/Time Functions


Like Takashi says, this should work:

@DateTimeCreate(2018,11,5,6,9,14,+0000)

Use an AttributePadder to pad to four zeros and the StringConcatenator (or AttributeManager) to add the + symbol

Thank you both. Two zeros already works.


Reply