If I do this:
DateTime now = DateTime.Now;
And then:
DateTime dt = new DateTime(now.Year, now.Month, now.Year, ..).AddDays(1);
It will take into consideration leap years and anything else that might be an issue with dates 🙂
I can’t recall but I know .net 4 or 3.5 has new date time objects.
To save Jon Skeet from having to advertise his own project:
Noda Time is a .NET library designed to simplify the correct handling of dates and times in the .NET environment. It is based on Joda Time, the industry standard date and time handling library for Java