Use the Weekday function with an optional second parameter to set the week to start on Saturday. This will align the calculations with your desired week structure. Replace Weekday(_firstDayOfMonth) with Weekday(_firstDayOfMonth, StartOfWeek.Saturday).
Set(_firstDayInView, DateAdd(_firstDayOfMonth, -(Weekday(_firstDayOfMonth, StartOfWeek.Saturday) - 1), TimeUnit.Days));
Ensure that when you navigate between months (next/previous), the logic to calculate _firstDayOfMonth and _firstDayInView remains consistent with this adjustment. Exampel: when moving to the next month: - Set(_firstDayOfMonth, DateAdd(_firstDayOfMonth, 1, TimeUnit.Months));
Set(_firstDayInView, DateAdd(_firstDayOfMonth, -(Weekday(_firstDayOfMonth, StartOfWeek.Saturday) - 1), TimeUnit.Days));
For the previous month: - Set(_firstDayOfMonth, DateAdd(_firstDayOfMonth, -1, TimeUnit.Months));
Set(_firstDayInView, DateAdd(_firstDayOfMonth, -(Weekday(_firstDayOfMonth, StartOfWeek.Saturday) - 1), TimeUnit.Days));
this should work, let me know how it goes for you.