Answers for "get next date javascript"

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
0

js how to see console day tomorrow

function today(i)
    {
        var today = new Date();
        var dd = today.getDate()+1;
        var mm = today.getMonth()+1;
        var yyyy = today.getFullYear();

        today = dd+'/'+mm+'/'+yyyy;

        return today;   
    }
Posted by: Guest on January-04-2021

Code answers related to "get next date javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language