Date有如下几种构造方法,没有yyyy-mm-dd方法
new Date()>new Date(milliseconds)new Date(dateString)new Date(yr_num, mo_num, day_num [, hr_num, min_num, 
                sec_num, ms_num]) The Date object allows you to work programatically with dates and times. You create a Date object using the Date constructor as shown in the syntax above and the available parameters are as follows:milliseconds - an integer that represents the number of milliseconds since 01/01/70 00:00:00.dateString - a string that represents the date in a format that is recognized by the Date.parse method.yr_num, mo_num, day_num - an integer that represents the year, month or day of the date.hr_num, min_num, sec_num, ms_num - an integer that represents the hours, minutes, seconds and milliseconds.