'Google Apps Script not Working - FormatDate

I have a problem that i can't figure it out.

var splitString = d.toString().replace(".0", "");

const NowDate = Utilities.formatDate( new Date([ new Date().setDate( splitString ) ]) , "GMT", 'dd/MM');

This code would return to me the appropriate date format to my array, but it doesn´t.

Only returns 01/01. I have an image bellow.

LOOGER.LOG



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source