2019年2月16日
摘要: 一、如何创建日期对象 1. new Date() 2. new Date(year,month,date,hours,minutes,seconds) 3. new Date(year,month,date) 二、如何获取日期时间? 1. 获取年份 date.getFullYear() 2. 获取月 阅读全文
posted @ 2019-02-16 19:43 傲娇的JINX 阅读(120) 评论(0) 推荐(0) 编辑