I am working on to get file count from folder received for last month. Can anyone help me on this. I have last month 1st day and last day code
First day : Now.AddDays(-1 * (Now.Day - 1)).AddMonths(-1).ToString(“MM/dd/yyyy”)
Last day : New datetime(now.Date.Year,
now.Date.Month,1).AddDays(-1).tostring(“MM/dd/yyyy”)