会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
zorro的菜鸟笔记
博客园
首页
新随笔
联系
管理
订阅
2016年11月30日
js获取年月日季度
摘要: var myDate = new Date(); myDate.getYear(); //获取当前年份(2位) myDate.getFullYear(); //获取完整的年份(4位,1970-????) myDate.getMonth(); //获取当前月份(0-11,0代表1月) myDate.g
阅读全文
posted @ 2016-11-30 09:33 zorro的菜鸟笔记
阅读(4249)
评论(0)
推荐(0)
编辑
公告