Skip to main content
Question

Avoid automatic date conversion

  • May 30, 2024
  • 1 reply
  • 62 views

david_
Contributor
Forum|alt.badge.img+8

Hi,

Is there any way to prevent FME Desktop from converting dates to its internal format?

 

For example, if you get '2024-05-30' I want it to remain '2024-05-30' and not '20240530'.

I understand that it can be useful in some cases but there are others that this automatic conversion becomes a headache.

 

Thank you!

Regards.

1 reply

liamfez
Influencer
Forum|alt.badge.img+34
  • Influencer
  • May 30, 2024

The DateTimeConverter will allow you to convert between time formats.

If you were wanting FME to not treat the values as a date from the start, then you could change the format type for that attribute in the reader to string/text instead of date. 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings