Tried that, unfortunately. My current (nonfunction...
# suitescript
a
Tried that, unfortunately. My current (nonfunctional) code is myrecord.setValue({ fieldId: "custrecord_endtime", value: _Format.format({ value: new Date( obj.endtime ), type: _Format.Type.TIMEOFDAY }) });