Zoyd
0
Q:

ts loop through days in dates

public IEnumerable<DateTime> EachDay(DateTime from, DateTime thru)
{
    for(var day = from.Date; day.Date <= thru.Date; day = day.AddDays(1))
        yield return day;
}
0

New to Communities?

Join the community