JS

    科技2024-06-27  69

    js获取当前年月日时分

    function GetDate(){ var now = new Date(); var year = now.getFullYear();    //年 var month = now.getMonth() + 1; //月 var day = now.getDate();   //日 var hh = now.getHours();   //时 var mm = now.getMinutes(); //分 }
    Processed: 0.009, SQL: 8