Home
Manage Your Code
Snippet: Get Start and End Date of current month C# (C#)
Title: Get Start and End Date of current month C# Language: C#
Description: Get Start and End Date of current month C# Views: 2867
Author: Greg Ellis Date Added: 1/17/2008
Copy Code  
1DateTime start = new DateTime(DateTime.Now.Year, DateTime.Now.Month, 1);
2DateTime end = start.AddMonths(1).AddDays(-1);