📜  js 如何查看明天的控制台日 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:09.690000             🧑  作者: Mango

代码示例1
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;   
    }