Why is the input string not in the correct format?
<p>I am using String.Format and keep getting the error: Input String is Not in the Correct Format. </p>

<p>I have tried to eliminate different possibilities, but I cannot find the solution.</p>

<p>The solution must be a simple one, yet I cannot find it.</p>

<pre><code>var peanuts = String.Format("{label: '{0}', legendEntry: true, data: { y: [new Date('{1}')], x: [new Date('{2}')], y1: [{3}] } }",
"name", "sync date", "download date", "100");
</code></pre>
