摘要: 例子: datediff(dd,add_time,getdate()) not between 0 and 7select count(*) from table where DATEDIFF ([second], '2004-09-18 00:00:18', '2004-09-18 00:00:1... 阅读全文
posted @ 2015-04-02 21:29 microsoftzhcn 阅读(13817) 评论(0) 推荐(0) 编辑
摘要: //js格式化时间 "yyyy-MM-dd hh:mm:ss"Date.prototype.Format = function (fmt) { var o = { "M+": this.getMonth() + 1, //月份 "d+": this.getDate(... 阅读全文
posted @ 2015-04-02 21:08 microsoftzhcn 阅读(2504) 评论(0) 推荐(0) 编辑