1 客户端时间:
<script language="JavaScript">
clientdate = new Date();
clientyear = clientdate.getYear();
if(clientyear < 300)clientyear = 1900 + clientyear ;
clientmonth = clientdate.getMonth()+1;
clientday = clientdate.getDate();
document.write(clientyear+"年"+clientmonth+"月"+clientday+"日")
</script>
2 目录