AnsweredAssumed Answered

Trying to match Groovy Date Format to Netsuite

Question asked by EdCaliri7021 on Apr 11, 2015
Latest reply on Jun 23, 2015 by priyankas9531

I am going from Salesforce to Netsuite with a map.  The map has a Groovy function that does some things and comes up with a new date that I want to send onto Netsuite.  The format I would like is yyyy-Mm-dd'THH:mm:ss.sssZ, looking like 2015-04-11T15:19:40.579-04:00 but I get an error from Groovy (it doesn't like the 'T' in the format).  The closest I seem to be able to get is the format("yyyy-MM-dd HH:mm:ss.SSS")  which looks like 2015-04-11 15:19:41.150 - is there a way to get them to match exactly?

Outcomes