2009年7月24日

摘要: Js代码[代码]Js代码[代码]转载自:http://zmfkplj.javaeye.com/blog/413996 阅读全文
posted @ 2009-07-24 10:14 shpchan 阅读(4727) 评论(0) 推荐(2) 编辑
 
摘要: 1 取值后格式化{0:d}小型:如2005-5-6{0:D}大型:如2005年5月6日{0:f}完整型 2 当前时间获取 DateTime.Now.ToShortDateString 3 取值中格式化SQL Server里面可能经常会用到的日期格式转换方法:sql server使用convert来取得datetime日期数据,以下实例包含各种日期格式的转换语句及查询结果:Select CON... 阅读全文
posted @ 2009-07-24 09:33 shpchan 阅读(897) 评论(1) 推荐(0) 编辑