摘要: 解决问题的方法: 在"日"字的后面加个空格, 像这样: {1231035827|date_format:"%m-%d日 "} 阅读全文
posted @ 2009-01-07 22:03 狼问苍穹 阅读(278) 评论(0) 推荐(0) 编辑
摘要: 增加一个自增的列: Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1create table [表名] 2( 3[自动编号字段] int IDENTITY (1,1) PRIMARY KEY , 4[字段1] nV... 阅读全文
posted @ 2009-01-07 14:47 狼问苍穹 阅读(173) 评论(0) 推荐(0) 编辑
摘要: 用js计算给出的日期(如:2009-1-7)是星期几: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->1 function getDayOfWeek(dayValue){ 2 var day = new Date(Date.parse(... 阅读全文
posted @ 2009-01-07 11:15 狼问苍穹 阅读(935) 评论(0) 推荐(0) 编辑