javascript: how can I increment a date string (YYYY-MM-DD) by 1 day
<p>I know how to do this in php with date() and mktime() functions, but have no idea how to accomplish the same thing in javascript...</p>

<pre><code>function incr_date(date_str){
    //...magic here
    return next_date_str;
}

var date_str = '2011-02-28';
console.log( incr_date(date_str) ); //want to output "2011-03-01"
</code></pre>

<p>is this even possible with js?</p>
