I need special Date format but I got error
Format what I need: yyyy-MM-dd’T’HH:mm:ss.SSSZ
Examples of string I need:
"2000-10-31T01:30:00.000-05:00"
"2018-10-23T13:10:10.825+03:00"
My code:
var datetime = Utilities.formatDate(new Date(), "GMT+2", "yyyy-MM-ddTHH:mm:ss.SSSZ");
Error I got: Invalid argument: yyyy-MM-ddTHH:mm:ss.SSSZ (line 83, file "Code")