JS_DATE常用函数.docVIP

  • 4
  • 0
  • 约9.24千字
  • 约 7页
  • 2016-12-29 发布于重庆
  • 举报
js日期时间函数(经典+完善+实用) 关键字: js 日期 时间 函数 来自/bbs/show.asp?id=42bd=8totable=1 日期时间脚本库方法列表 Dtotype.isLeapYear?判断闰年 Dtotype.Format?日期格式化 Dtotype.DateAdd?日期计算 Dtotype.DateDiff?比较日期差 Dtotype.toString?日期转字符串 Dtotype.toArray?日期分割为数组 Dtotype.DatePart?取日期的部分信息 Dtotype.MaxDayOfDate?取日期所在月的最大天数 Dtotype.WeekNumOfYear?判断日期所在年的第几周 StringToDate?字符串转日期型 IsValidDate?验证日期有效性 CheckDateTime?完整日期时间检查 daysBetween?日期天数差 js 代码 ? //---------------------------------------------------?? //?判断闰年?? //---------------------------------------------------?? Dtotype.isLeapYear?=?function()??? {??? ????return?(0==this.getYear(

文档评论(0)

1亿VIP精品文档

相关文档