Answers for "next day js"

1

next day javascript

var tomorrow = new Date();
tomorrow.setDate(new Date().getDate()+1);
// Increase the date By 1(day)
Posted by: Guest on April-28-2021
4

how to get tomorrow date in javascript

var currentDate = new Date(new Date().getTime() + 24 * 60 * 60 * 1000);
var day = currentDate.getDate()
var month = currentDate.getMonth() + 1
var year = currentDate.getFullYear()
document.write("<b>" + day + "/" + month + "/" + year + "</b>")
Posted by: Guest on April-30-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language