在看FullCalendar插件源码时有非常多关于日期类型的转换、复制、计算都用到了一个怪异的获取日期类型time值的简写,如下: function cloneDate(date) { var rtDate = new Date(); if (+date) { //rtDate.setTime(new Number(date)); //rtDate.setTime(Number(date)); //rtDate.setTime(date.getTime()); rtDate.setTime(+date); return rtDate; } else { alert("非法"); return null; } }