[Tutor] how to get the weeks of a month

Ben Finney ben+python at benfinney.id.au
Mon Mar 4 17:30:45 EST 2019


john fabiani <johnf at jfcomputer.com> writes:

> My understanding is - a week starts on Monday and ends on Sunday.

That's behaviour specific to a timezone. Which one are you using, and
does your program know to consult the timezone data for when a week
begins and ends?

    <URL:https://www.timeanddate.com/calendar/days/>

-- 
 \         “I went to San Francisco. I found someone's heart.” —Steven |
  `\                                                            Wright |
_o__)                                                                  |
Ben Finney



More information about the Tutor mailing list