A more suitable way to rewrite this?
<p><br>
I have the method: </p>

<pre><code> def checkAgainstDate():
     currentDate = date.today()
     currentMonth = date.today().month
     if currentMonth == 1
         year = currentDate.year-1
         return date(year, 11, 01)
     elif currentMonth == 2:
         year = currentDate.year-1
         return date(year, 12, 01)
     else
         return date(currentDate.year, currentMonth-2, 01)
</code></pre>

<p>This just returns the first of the month 2 months ago, which is what i want is there a better approach i could have used using timedeltas? I choose my way because weeks in a month are not always constant.<br>
Thanks in Advance,<br>
Dean </p>
