Find number of days in a given month in asp.net using c#
Number-of-days-in-month.aspx.cs
int totalDays = DateTime.DaysInMonth(2007, 6); //Pass valid year and month
Now totalDays variable will have total number of days in a given month. I hope it will be great helpful for you
0 comments:
Post a Comment