Posted by: codeproject | September 26, 2007

ASP.NET – How to get Days of the month.

Here is a single line code , help you to get the number of days in a particular month.

if you wanted to get for the complete years , then you need to put this code in a loop and changed the year and month numbers. 

Date.DaysInMonth(Now.Year, Now.Month)


Responses

  1. Good


Leave a response

Your response:

Categories