CSharp examples for System:DateTime Month
Start Of Current Month
public class Main{ public static DateTime StartOfCurrentMonth(this DateTime value) {// ww w . ja v a2 s . co m return new DateTime(DateTime.Now.Year, DateTime.Now.Month, 01); } }