<table cellspacing="0" cellpadding="0"><tr><td class="t_f" id="postmessage_65124"> <div class="blockcode"> <div id="code_Czv"><ol> <li> </li> <li>function daysbetweendates($date1, $date2){</li> <li> $date1 = strtotime($date1);</li> <li> $date2 = strtotime($date2);</li> <li> $days = ceil(abs($date1 - $date2)/86400);</li> <li> return $days;</li> <li>}</li> <li> </li> <li> </ol></div> <em onclick="copycode($('code_Czv'));">复制代码</em> </div> <br> </td></tr></table> <div class="ptg mbm mtn"> PHP</div> <div id="comment_65124" class="cm"> </div> <div id="post_rate_div_65124"></div> <br><br>