var date=[‘J‘,‘F‘,‘C‘,‘D‘,‘E‘,‘B‘,‘H‘,‘I‘,‘A‘];//console.log((new Date().getTime()).toString());var orderSN = date[(new Date().getFullYear()) - 2015];//console.log(orderSN);var a001 =(new Date().getMonth()+1).toString(16).toUpperCase();//console.log(a001);var a002=(new Date().getTime()).toString().substr(-5);//console.log(a002);var date = new Date(new Date().getTime());var humanDate = new Date(Date.UTC(date.getFullYear(),date.getMonth(),date.getDate(),date.getHours(),date.getMinutes(), date.getSeconds()));var a003=(humanDate.getTime()/1000 - 8*60*60).toString().substr(2,5);//console.log(a003);var a004 =parseInt(100*Math.random()).toString();//console.log(a004.length);if(a004.length==1){ a004="040"+a004;}else if(a004.length==2){ a004="04"+a004}
时间: 2024-11-06 16:46:32