Show Date Range in Month View
Asked by Matt Loflin
15 years ago.
15 years ago.
How do you set the startdate / range for a month view?
Ex. We want to show one week before the current week and three weeks after this week.
My logic is this:
DayPilotMonth1.StartDate = DateAdd(DateInterval.Day, -7, Date.Now)
However, that doesn't work when I put it in any of the events of the calendar. And if I hardcode a "startdate" it doesn't change the calendar view either.
DayPilot