I want a DateTime variable which is today (any given time of the day) at 23:00.
There has simply got to be a cleaner way to do this because this reminds me too much of good ol’ ASP.Classic…
var startDate = DateTime.Parse(DateTime.Now.ToShortDateString() + " 23:00:00");
Anyone?
1 Answer