<div class="codetitle"> <span><a style="CURSOR: pointer" data="46070" class="copybut" id="copybut46070" onclick="doCopy('code46070')"><u>複製程式碼</u></a></span>如下程式碼:</div> <div class="codebody" id="code46070"> <br> function Test(day );<br> var beforMilliseconds = Today.getTime() - 1000 * 3600 * 24 * ;<br> beforday.setTime(beforMillisecond s);<br> .getFullYear();<br> var strDay = beforday.getDate();<br> if (strMonth <br> }<br> alert(strYesterday);<br> }<br> <br> </div>