superkumario64
02/27/2019, 9:33 PMnext_invoice.setValue({
"fieldId": 'trandate',
"value": moment(new Date()).format("M/D/YYYY")
});
But I am getting this error message: “Invalid date value (must be M/D/YYYY)”
When I log out log.debug('moment(new Date()).format("M/D/YYYY")', moment(new Date()).format("M/D/YYYY"));
I get 2/27/2019rustyshackles
02/27/2019, 11:44 PMmoment(new Date()).format("M/D/YYYY").toDate()