寫下值得讓人回味的部份;程式就是生活的一部份!!
function new_image($s_time){ $tc=(date('U',time())-date("U",strtotime($s_time)))/86400; $tc_image_new=''; if($tc<=3) $tc_image_new=""; return $tc_image_new; } PS. 一天86400秒
張貼留言
沒有留言:
張貼留言