applies to: C#, .NET
In the spirit of sharing code, and I think this is the second time in this week that I need this function
DateTime GetLastDayOf(DateTime date) {
return new DateTime(date.Year, date.Month, DateTime.DaysInMonth(date.Year, date.Month));
}
Thursday, September 27, 2007
Subscribe to:
Post Comments (Atom)
1 comment:
ty
Post a Comment