返回列表 发帖

[问题求助] 想大家帮我修改一下日期插件!

<script language="Javascript">
function today()
{
setTimeout("today()",1000);
var today = new Date();
var week = new Array
("星期日",
"星期一",
"星期二",
"星期三",
"星期四",
"星期五",
"星期六");
var display= today.toLocaleString()+"  "+week[today.getDay()];
status=display;
}
today();
</script>

就是上面,如何修改成不要年份。

返回列表