int days = DateTime.DaysInMonth ( 2009, 9 );

int days = DateTime.DaysInMonth ( DateTime.Now.Year, DateTime.Now.Month);
05-11 21:45