Last Day Of Month.
By Super Man
get the last day of particular month.
int i = System.DateTime.DaysInMonth(DateTime.Now.Year, DateTime.Now.Month);
int j = System.DateTime.DaysInMonth(2010,3);
MessageBox.Show("Last Day is : " + i.ToString());
MessageBox.Show("Last Day is : " + j.ToString());
Last Day Of Month. (1286 Views)