日记

来源:互联网 发布:淘宝网店转让靠谱吗 编辑:程序博客网 时间:2024/04/28 23:02

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 目录

原创粉丝点击