Skip to main content

Good day,

 

I have this Cancel Date "2018-11-06T00:00:00-05:00".

 

I would like to convert it into %Y%m%d%H%M%S (FME datetime) Format but as UTC time.

 

What is the best way to do so?

Some FME Date/Time Functions could be used here effectively

e.g. assuming that attribute "_datetime" contains an ISO date/time with time zone suffix.

@TimeZoneRemove(@TimeZoneSet(@DateTimeParse(@Value(_datetime),ISO),utc))

Some FME Date/Time Functions could be used here effectively

e.g. assuming that attribute "_datetime" contains an ISO date/time with time zone suffix.

@TimeZoneRemove(@TimeZoneSet(@DateTimeParse(@Value(_datetime),ISO),utc))

It's working. Great! Thanks!


Reply