View Single Post
Old 05-06-2019, 10:45 PM   #3
gmo
Hall Of Famer
 
Join Date: May 2002
Location: Longmont, CO
Posts: 3,164
Quote:
Originally Posted by Alex Murray View Post
It's forced to start on a Tuesday so not exactly April 1st...don't know how to make it start on the 1st regardless of what day that 1st is.
As attached the file in its parameters at the top has...
Code:
start_day_of_week="6"
...which corresponds to starting the season on Friday. The numbers for day of the week in the game are:
  • 1 = Sunday
  • 2 = Monday
  • 3 = Tuesday
  • 4 = Wednesday
  • 5 = Thursday
  • 6 = Friday
  • 7 = Saturday

To not start on a specific day of the week, simply remove that parameter.

I do not see the "start_month" nor "start_day" parameters. To force to start on April 1st, those parameters should be set as...
Code:
start_month="4" start_day="1"
Also including the "start_day_of_week" parameter would mean starting on the first instance of that day of the week on or after that calendar date set by "start_month" & "start_day".

Because the request asks for interdivision games midweek and division games on the weekend, it makes sense to include the "start_day_of_week" parameter. Without it over the years an April 1st every year would mean losing having the the games at midweek and on the weekend. E.g., what had been on Tue-Thu one year, the next year falls on Wed-Fri or Thu-Sat if not using "start_day_of_week" and letting the exact calendar date float.
__________________
Making Baseball Schedules
gmo is online now   Reply With Quote