标题:
[问题求助]
想大家帮我修改一下日期插件!
[打印本页]
作者:
qsxza
时间:
2009-3-23 21:43
标题:
想大家帮我修改一下日期插件!
<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>
就是上面,如何修改成不要年份。
欢迎光临 世界之窗论坛 (http://bbs.theworld.cn/)
Powered by Discuz! 7.2