会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
博客园
首页
新随笔
联系
订阅
管理
2009年1月8日
几条常用 关于时间的 处理
摘要: 查询当天的内容:select * from article where datediff(day,时间字段,getdate())=0 本周:select * from article where datediff(week,时间字段,getdate())=0 DateTime dd = (DateTime)ds.Tables[0].Rows[i]["pubdate"]; if (Da...
阅读全文
posted @ 2009-01-08 12:46 7x10
阅读(179)
评论(0)
推荐(0)
编辑
公告