2007年6月13日
摘要: //今天 DateTime.Now.Date.ToShortDateString(); //昨天,就是今天的日期减一 DateTime.Now.AddDays(-1).ToShortDateString(); //明天,同理,加一 DateTime.Now.AddDays(1).ToShortDateString(); 阅读全文
posted @ 2007-06-13 15:49 噢耶游戏 阅读(1571) 评论(2) 推荐(0) 编辑
摘要: "^\d+$"  //非负整数(正整数 + 0) "^[0-9]*[1-9][0-9]*$"  //正整数 "^((-\d+)|(0+))$"  //非正整数(负整数 + 0) "^-[0-9]*[1-9][0-9]*$"  //负整数 "^-?\d+$"    //整数 "^\d+(\.... 阅读全文
posted @ 2007-06-13 08:59 噢耶游戏 阅读(524) 评论(0) 推荐(0) 编辑