w3resource
w3resource logo

Python TextCalendar Module: firstweekday() method

(追記) (追記ここまで)
(追記) (追記ここまで)

firstweekday() method

The firstweekday() method is used to get the current setting for the weekday to start each week.

Syntax:

firstweekday()

Example of firstweekday() method

import calendar
calendar.setfirstweekday(1)
print(calendar.firstweekday())

Output

1

PREV :setfirstweekday()
NEXT :isleap()

Test your Python skills with w3resource's quiz



Follow us on Facebook and Twitter for latest update.

(追記) (追記ここまで)


(追記) (追記ここまで)
(追記) (追記ここまで)


AltStyle によって変換されたページ (->オリジナル) /