javascript中怎样获取日期var date = new Date()获取当前时间var year = date.getFullYear()年份var month = date.getMonth()月份(从0开始,0对应1月)var day = date.2023-04-26JavaScript270