怎样判断日期是今天

2025-02-24 13:51:01
推荐回答(1个)
回答1:

"select * from table where time>=#"+DateTime.Now.ToShortDateString()+" 0:0:0 and time<=#"+DateTime.Now.ToShortDateString()+" 23:59:59#"

C# + Access 实现