C# 可以通过 DateTime.Now.TimeOfDay 属性值比较是否跨天

TimeSpan timeSpan = DateTime.Now.TimeOfDay;
posted @ 2022-11-18 17:26  double64  阅读(333)  评论(0)    收藏  举报