finding start and end date for 2 conditions
<p>Basically, my question is about finding date-ranges</p>

<p>From today's date [ using <strong>date()</strong> ], I want to find</p>

<ol>
<li><p>starting and ending date for current week</p>

<pre><code>Let's assume
Today: 14 July, 2011
start of week: 10 July, 2011
end of week: 16 July, 2011
</code></pre></li>
<li><p>starting and ending date for current month</p>

<pre><code>Let's assume
Today: 14 July, 2011
start of month: 1 July, 2011
end of month: 31 July, 2011
</code></pre></li>
</ol>

<p>How can I find these dates ?</p>
