I need to format my Datetime.now() to be accepted for a SOAP request.
I can't seem to find a way to format it online. Can anyone advise? I need it to look like:
Currently I have tried:
Datetime.now().format('yyyy-MM-dd\'T\'HH:mm:ss.SSSZ') which I believe is the correct way, but this displays like so: