Oo笑容太甜oO/

typecho底部添加网站已运行XX天


<p>

在适当的地方加入一下代码

</p>

    本站已安全运行了:
    <span class="smalltxt">
    <script>
    var BirthDay=new Date("octo 08,2015");//修改成你网站创建时间
    today=new Date();
    var today=new Date();
    var timeold=(today.getTime()-BirthDay.getTime());
    var sectimeold=timeold/1000;
    var secondsold=Math.floor(sectimeold);
    var msPerDay=246060*1000;
    var e_daysold=timeold/msPerDay;
    var daysold=Math.floor(e_daysold);
    document.write(""+daysold+"天");
    </script>
    </span>