xxxxxxxxxx
const today = new Date()
const tomorrow = new Date(today)
tomorrow.setDate(tomorrow.getDate() + 1)
xxxxxxxxxx
const today = new Date()
const tomorrow = new Date(today)
tomorrow.setDate(tomorrow.getDate() + 1)
xxxxxxxxxx
function isTomorrow(sDate, bDate) {
sDate.setDate(sDate.getDate() + 1);
if (sDate.toDateString() === bDate.toDateString()) {
return true;
}
return false;
}