var myDate = new Date();
myDate.getTime(); //获取当前时间(从1970.1.1开始的毫秒数)
myDate.setTime(myDate.getTime()+1000*60*60*24);;