Skip to main content

Greetings,

Is there a setting to set the date value out of the DateTimeStamper to say ISO?

Thank you,

Tyler

FME 2022.1

Sort of, pass the features into a datetimeconverter and from there you can change the format to ISO


Sort of, pass the features into a datetimeconverter and from there you can change the format to ISO

Indeed. Note that you can also create a custom transformer from this 'DateTimeStamper - DateTimeConverter' combination to form your very own ~'ISODateTimeStamper' ;)


You can avoid the use of a DateTimeStamper and use the following in an AttributeCreator/AttributeManager to get the current date time and format it as required

@DateTimeFormat(@DateTimeNow(),%Y-%m-%dT%H:%M:%S)

 


Reply