I have been trying to set a date to be tomorrow’s date but I never get the expected result. I have searched on how to do it and it works on other java script platforms, like w3schools , but when I put it into wix I don’t get a date I just get 1585789320204. Is there a way to get this to work?
function tommorowDateNum(){
let newDate= new Date();
let tommorowsDate = newDate.setDate(newDate.getDate() + 1);
console.log(tommorowsDate);
}