I have an excel where i have a raw data of last 6 month or more. so i want to pick a particular range like (last 2 days, last 15 days, last 3 month) data
Its always better to assign Datetime.Now.AddDays(-3) to a variable and using the variable in its place.
You can modify the “AddDays” method to “AddMonths” and can play around.
I have used the “DISPATCH DATE” column but this column can also be modified if needed.