var nowTime = new Date();nowTime.getDay();nowTime.getYear();nowTime.getMonth();nowTime.getHour();.....
var date=new Date();date就是当前时间