2016年6月29日

js日期格式,日期对象

摘要: 以对象为基准去使用方法, 围绕Date对象 var a = new Date() 返回当前的时间对象,可以使用内置的日期对象的方法 a.getFullYear(), a.getMonth(), a.getDate() 从当前时间得到 年、月、日 手动设置某一个时间 new Date(a.getFul 阅读全文

posted @ 2016-06-29 11:00 没心.没肺 阅读(479) 评论(0) 推荐(0) 编辑

导航