.NET LINQ to entities group by date (day)

前端 未结 1 1654
广开言路
广开言路 2021-02-19 11:55

I have the same problem posted here: LINQ to Entities group-by failure using .date

However, the answer is not 100% correct. It works in all cases except when different t

1条回答
  •  情深已故
    2021-02-19 12:39

    You can use UTC DateTime and trunkate the time after it.

    0 讨论(0)
提交回复
热议问题