摘要:
function dateDiff(interval, date1, date2){var objInterval = {'D':1000 * 60 * 60 * 24,'H':1000 * 60 * 60,'M':1000 * 60,'S':1000,'T':1};interval = interval.toUpperCase();var dt1 = new Date(Date.parse(date1.replace(/-/g, '/')));var dt2 = new Date(Date.par 阅读全文
posted @ 2011-05-31 11:00 世纪老妖 阅读(5419) 评论(0) 推荐(0) 编辑