I often like to have a date in my subject line for New User Creation and Termination Requests. I get this date from a custom field entered by our HR department, but I have typically shortened the date from the using the function from the moment.js library (which I believe was removed after version 11.3.) My script no longer works when I have the previous moment function call in it.
The former code snippet was
var NewEffDateValue=moment(EffDateValue).format('DD-MMM-YYYY HH:00');
Could you please share what methods are available for setting the same short date and time string?