JSFiddle - React, Tailwind, and code Playground
by Alexey Demin
JavaScript
console.clear();
var getTomorrow = function(days){
var now = new Date();
return new Date(
now.getFullYear(),
now.getMonth(),
now.getDate() + days,
now.getHours(),
now.getMinutes(),
now.getSeconds());
};
var tomorrow = getTomorrow(30);
console.log(tomorrow.toLocaleString());