|
|
(C#) DateTimes: Finding the last day of a month
by Matt on 2009/10/20 at 5:14 pm
Since we know that all months have at least one day, setting an existing DateTime to the first day of a month is a cinch… but finding the last day of a month is a wee bit more complicated since months tend to have a variable number of days from year to year. Fortunately, there is a relatively simple (if roundabout) way to calculate the last day in a month. Continue Reading this Article >> |