Check how many days in given month in C#.Net
//this will show how many days in given month
//////////////////////////// CODE ////////////////////////////
MessageBox.Show(DateTime.DaysInMonth(2012, 4).ToString());
//////////////////////////// OUTPUT //////////////////////////

--
/\/ir@\/ <(.'.)>
//////////////////////////// CODE ////////////////////////////
MessageBox.Show(DateTime.DaysInMonth(2012, 4).ToString());
//////////////////////////// OUTPUT //////////////////////////
--
/\/ir@\/ <(.'.)>
Comments
Post a Comment