Given a date find next date which is a particular day of week
<p>Given a date I want to find the next date which is a particular day of week. Eg.</p>

<pre><code>Today (8/24/2012)

Find next Sunday(0) returns 8/26/2012
Find next Friday(5) returns 8/24/2012 (Today's a Friday)
</code></pre>

<p>I can find the day of week for a particular day using:</p>

<pre><code>date("w", timeStamp)
</code></pre>
