怎样通过JS来判断时间var ms = new Date()var year = ms.getFullYear() 获取年var month = ms.getMonth() 获取月 (0 ~ 11)var date = ms.getDate() 2023-02-20JavaScript200