CSharp examples for System:DateTime Month
Get Last Day Of Month
using System;/* www . j av a 2s . c om*/ public class Main{ public static DateTime GetLastDayOfMonth(this DateTime datetime) { return GetFirstDayOfMonth(datetime).AddMonths(1).AddDays(-1); } }