This static class contains helpful extensions for DateTime.
Nowadays contains following static methods:

Name Description
IsWeekend(System.DateTime) Determine whether date is weekend.
IsLeapYear(System.DateTime) Determine whether year from date is leap.
IsLastDayOfMonth(System.DateTime) Determine whether day from date is last day of the month.
IsInRange(System.DateTime,System.DateTime,System.DateTime) Determine whether date is in date range.
Age(System.DateTime) Get Age by birthDay date.
IsToday(System.DateTime) Determine whether value date is today.
AreInTheSameWeek(System.DateTime,System.DateTime) Determine whether firstDate and secondDate are in the same week.

Last edited Feb 23, 2014 at 5:28 PM by MinoMartiniak, version 4