CODE:
System.DateTime dateStart = new System.DateTime(System.DateTime.Now.Year, System.DateTime.Now.Month, 1);
System.DateTime dateEnd = System.DateTime.Now;
lblFromDate.Text = dateStart.ToString("MMM dd, yyyy");
lblToDate.Text = dateEnd.ToString("MMM dd, yyyy");
0 comments:
Post a Comment