How can I format a date?
<pre><code>        //This will get the month as an int (e.g. 4)
        DateTime dLastMonth = DateTime.Today.AddMonths(-1);
        int iLastMonth = dLastMonth.Year;
</code></pre>

<p>How can I make the above code output 01, 02, etc... instead of 1, 2, 3...</p>
