Thursday, 8 July 2010

START/END DATES

  1. DateTime startDate = new DateTime(DateTime.Now.Year, DateToDisplay.Month, 1);
  2. DateTime endDate = startDate.AddMonths(1).AddDays(-1);

No comments:

Post a Comment