Project Description
A set of fluent extension methods for the System.DateTime class.

Examples
DateTime firstDayOfMonth = DateTime.Now.First();
DateTime lastdayOfMonth = DateTime.Now.Last();
DateTime lastFridayInMonth = DateTime.Now.Last(DayOfWeek.Friday);
DateTime nextFriday = DateTime.Now.Next(DayOfWeek.Friday);
DateTime lunchTime = DateTime.Now.SetTime(11, 30);
DateTime noonOnFriday = DateTime.Now.Next(DayOfWeek.Friday).Noon();

For more information, see the blog entry at http://iridescence.no/Posts/A-Set-of-Useful-Extension-Methods-for-DateTime.aspx.

Last edited Mar 18, 2008 at 6:12 PM by Fredrik, version 4