js中的時間對比 參數格式(yyyy-MM--dd) var a = new Date("時間參數"); var b = new Date("時間參數"); if(a.getTime()<=b.getTim ...