JavaScript Check Date not today or in the past
<p>JavaScript Check Date not today or in the past.</p>

<pre><code>var c = '10 JUN 2010'; // this is the format of the date coming in.
var temp = new Array();
temp = c.split(' ');

var x = new Date ( temp[1]+" "+temp[0]+", "+temp[2] );

if (x.getTime() &gt; getDate()) {
   alertstring = alertstring + '\n\nDEBUG CODE: 1 ' + x + '\n\n';
}
</code></pre>

<p>I cannot change the format coming in.</p>
