Utilities.formatDate not working in logic javascript advance

var tarikh = Utilities.formatDate(new Date(1613259396963), “GMT+8”, “DD MMM YYYY”);
// var tarikh = “123acc”;

return { result: tarikh };

I am using this coding in javascript advance but it does not return anything. When I tried with var tarikh = “123acc” and hide var tarikh = Utilities.formatDate(new Date(1613259396963), “GMT+8”, “DD MMM YYYY”), it does return the value of 123acc.

Hi! Utilities is not available. Either use a formula (in the inputs) to format the date and use the input directly, or use Moment.js.