title: Python: Number of the Week in a Month
body: <p>When specifying a date:</p>
  
  <pre><code>datetime.datetime(2011, 8, 15)
  </code></pre>
  
  <p>How can i get to know that this is the third week of the month?</p>
  
  <p>What if I want this dates?</p>
  
  <pre><code>datetime.datetime(2011, 2, 28) //should return 4
  datetime.datetime(2011, 8, 29) //should return 5
  </code></pre>
  
  <p>I understand that only February has 4 weeks if the given date is in a leap year (bissextile)</p>