日期:2014-05-17 浏览次数:20971 次
SELECT TOP 1 min(datediff(SECOND,CreateTime,'2013-07-09 00:00:00')) as OrderBy from TableName order by OrderBy asc
int x = DateTime.Compare(f, b);//如果f<b,x=-1