function getTimeStamp(){
var d,s;
d=new Date();
s=d.getFullYear()+"-";
s=(Number(d.getMonth())+1)+"-";
s=d.getHours();
s=d.getMinutes();
s=d.getSeconds();
//alert(s);
}
js 读取本地时间
最新推荐文章于 2023-08-16 19:45:33 发布
function getTimeStamp(){
var d,s;
d=new Date();
s=d.getFullYear()+"-";
s=(Number(d.getMonth())+1)+"-";
s=d.getHours();
s=d.getMinutes();
s=d.getSeconds();
//alert(s);
}