Skip to main content
I am trying to use the date formatter transformer for a date that is passed in this format, Apr 24, 2014, 5:04 PM.  I want the date to be formatted to this, %m-%d-%Y.  I have tried setting the source to this, %b %d, %Y, %I:%M %p, but I cannot get the date to change during the translation.  Any suggestions would be appreciated.
Hi,

 

 

using your sample date, this worked for me using FME 2014:

 

 

 

 

David
Hi

 

 

In my test, the DateFormatter with the format has replaced the datetime string with "04-24-2014", as expected. I tested with FME 2014 SP2 and FME 2013 SP4.

 

 

Takashi

Reply