AnsweredAssumed Answered

DateFormat cannot parse '2014-10-07T19:40:00.000Z': java.text.ParseException: Format.parseObject(String) failed

Question asked by priyankas9531 on Oct 1, 2015
Latest reply on Jan 11, 2016 by priyankas9531
Hi,

I am trying to change the format of a date field coming from Salesforce so that i can use them later to caluclate date difference and comparison. The date format i am using has worked in all the cases except this one where i am getting the DateFormat cannot parse '2014-10-07T19:40:00.000Z': java.text.ParseException: Format.parseObject(String) failed error.

I have tried connecting the dates fields directly to the script and there i am getting unparseable error.

When i am checking the logs, the input for CD is "Input[59:Date String, 20141006 101023.000]" and "Output[62:Result, 10-06-2014 10:10:23:000]" whereas for OV it is "Input [64:Date String, 2014-10-07T19:40:00.000Z]" and error on output

Could someone tell me if there should be another format for OV as i have tried all formats and still getting the same error?
0EM40000000bt5w
Thanks

Outcomes