dates in shorthand
<p>Let's say you have a date string like follows:</p>

<pre><code>11/15/2010, 12/1/10, 12/2/10, 12/3/10, 12/4/10, 12/9/10
</code></pre>

<p>How would you shorten this string like follows (or something similar)</p>

<pre><code>11/15/2010, 12/1-4, 9/10
</code></pre>

<p>Because imagine 30 days in a row it would be better to see 12/1-31/10 than have all dates listed.</p>

<p>Just to make it a little more compact?</p>

<p>Thanks,
rod.</p>
