Display Date

$w . onReady ( function () {
displayDate ();
});

function displayDate () {
let today = new Date ();
let day = today . getDate ();
let month = today . toLocaleString ( ‘default’ , { month : ‘long’ });
console . log ( “day =” + day );
console . log ( “Month =” + month );
$w ( “#text89” ). text = “It’s " + day + " " + month + " Today”

}

__ Use This Code If You Want “October” Instead of “Oct”