March 2003
Intermediate to advanced
656 pages
39h 30m
English
setfirstweekday
setfirstweekday(weekday)Sets the first day of each week to the weekday code
weekday. Weekday codes are
0 (Monday) to 6 (Sunday).
Module calendar also supplies attributes
MONDAY, TUESDAY,
WEDNESDAY, THURSDAY,
FRIDAY, SATURDAY, and
SUNDAY, whose values are the integers
0 to 6. Use these attributes
when you mean weekday codes (e.g., calendar.FRIDAY
instead of 4), to make your code clearer and more
readable.
Read now
Unlock full access