AnsweredAssumed Answered

Date Time Formatting Cannot Parse

Question asked by bbajwa802798 on Jul 14, 2017
Latest reply on Jan 22, 2018 by suman.anisetty914598

My map receives a source Date/Time of 2016-08-17T12:47:41-04:00 (or another value with the same format).

I have my source profile as mask yyyy-MM-dd'T'HH:mm:ssZZ and a date format function of:

 

When I run the Date Format with 2016-08-17T12:47:41-04:00 as the input string, I get the following error:

[Function: Date Format]: DateFormat cannot parse '20160817 115142.000': java.text.ParseException: Format.parseObject(String) failed

 

Any idea why this is? I have also tried not defining the source profile as Date/Time but that causes no information to be transferred to the destination profile.

 

Thanks,

Bik 

Outcomes