Best way to create a Midnight DateTime in C#
Just use foo.Date
, or DateTime.Today
for today's date
DateTime.Today
DateTime.Now
. AddDays(1)
. Date
Just use foo.Date
, or DateTime.Today
for today's date
DateTime.Today
DateTime.Now
. AddDays(1)
. Date