title: Using Python, get the day of the current month as an integer
body: <p>I need to write a method that returns the day of the month as an integer. For example, if it's Feb 8th 2011, I want to have method like this:</p>
  
  <pre><code>&gt;&gt;&gt; day = get_day_of_month()
  </code></pre>
  
  <p>where day would be given the integer value 8</p>