DateTime now = DateTime.Now; DateTime firstday = new DateTime(now.Year, now.Month, 1); string day = firstday.Date.ToString(); Label1.Text = day;
7/1/2013 12:00:00 AM
01 Jul 2013
label.Text = firstDay.ToString("dd MMM yyyy");
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)