- 博客(2)
- 资源 (1)
- 收藏
- 关注
转载 SQL DATEDIFF语法及时间函数 Sql 查询当天、本周、本月记录
--查询当天: select * from info where DateDiff(dd,datetime,getdate())=0 --查询24小时内的: select * from info where DateDiff(hh,datetime,getDate())<=24 --info为表名,datetime为数据库中的字段值 --查询当天:select * from info where DateDiff(dd,datetime,getdate())=0--查询
2010-06-29 15:29:00 1273
原创 asp.net 线程定时器(Timer )的使用
using System;using System.Web.UI.WebControls;using System.Threading;namespace test{ public partial class _Default : System.Web.UI.Page { public static Label lb; protected void Page_Load(object
2010-06-02 00:11:00 2325
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人