locked
Generate a list of array for weeks and months for a given two dates between a specify Date Range RRS feed

  • Question

  • User457850011 posted

    I have two dates, start and end dates and also Series End Date. I want to generate a weekly and monthly array of Dates for all specify period using Linq. So for example

    var start = DateTime.Parse("08/17/2018");
    var end = DateTime.Parse("09/17/2018");

    var SeriesEndPeriod = DateTime("12/31/2022")

    I want to generate array of all Dates for the start and end dates till the SeriesEndPeriod .Any help will be appreciated

    Friday, February 8, 2019 5:35 PM

Answers