how the find the last day of the month.?
DateTime.DaysInMonth(2017, 08); //return 31
Datetime.DaysInMonth(Year, Month); //syntax
you can also use this for current year and current month like below
DateTime.DaysInMonth(DateTime.Now.Year, DateTime.Now.Month)
Regards…!!
Aksh
5 Likes
thanks akash
It is Akshay or Aksh