js 时间显示

<script language="JavaScript">
today=new Date();
document.write(
"<font color=#000000 style='font-size:11px;font-family: verdana'> ",
today.getYear(),"年",
today.getMonth()+1,"月",
today.getDate(),"日",

"</font>" );
</script>

你可能感兴趣的:(js)