RE: How to set date format MM-DD-YYYY for Inbound E-Document
I’m trying to set the trandate while importing an XML using the Inbound E-Document functionality included in the Electronic Invoice.
I’m already getting the trandate like this:
But the format from the XML is : “2019-10-21T12:00:00:00” and it needs to be MM-DD-YYYY.
Does someone knows how to convert the XML date to that format?
Rookie Asked on October 25, 2019 in SuiteScript.
Thank you very much for your answer.
Unfortunately I tried including the settings macro and still gives me an error for the date format .