How to get current month first and last date?
var now = DateTime.Now;
DateTime dateFrom = new DateTime(now.Year, now.Month, 1);
DateTime dateTo = dateFrom.AddMonths(1).AddDays(-1);
By Adil Shahbaz 11-Sep-2023 2