js 只比较时间大小的实例 实例如下:<script>///比较函数functioncompareTime(date1,date2){vard1_year,d1_month,d1_day,d1,time_span1,d2 js比较时间大小