Originally posted by: SystemAdmin
I am trying to reformat a date in WTX but my map rule is not working. I've tried several different rules and nothing seems to work. Please see details below:
INPUT
DepartureDateTime>2007-12-17T09:30:47.0Z</DepartureDateTime>
Output should be: YYMMDDHHMM
I searched the forum to see how to do this and used the rule below; however, I’m not able to reformat the date correctly. Can someone tell me what I’m doing wrong? Thanks
FROMDATETIME(TODATETIME(DepartureDateTime, “CCYY-MM-DDTHH24:MM:SS”), “{YYMMDDHH24MM}”)
#IBMSterlingTransformationExtender#DataExchange#IBM-Websphere-Transformation-Extender