<% limit=datediff("s","2009-1-17 9:05:35","2009-2-17 10:05:55") response.write limit&"秒" response.write ("<hr>") if (limit < 60) then show_t = "刚刚" if (limit >= 60 and limit < 3600) then show_t = int(limit/60) &"分钟前" if (limit >= 3600 and limit < 86400) then show_t = int(limit/3600) &"小时前" if (limit >= 86400 and limit < 2592000) then show_t = int(limit/86400) &"天前" if (limit >= 2592000 and limit < 31104000) then show_t = int(limit/2592000) &"个月前" if limit >= 31104000 then show_t = "很久前" response.write (show_t) %>