CSharp examples for System:DateTime Month
To Start Of Month
using System;//from w w w . j a va2s . c om public class Main{ public static DateTime ToStartOfMonth(this DateTime date) { return new DateTime(date.Year, date.Month, 1); } }