title: comparison of two dates
body: <p>how to compare values of 2 dates using actionscript
  i executed this code in my program..</p>
  
  <pre><code>var time1:Date = new Date(Number(fromDate.substr(0,4)),Number(fromDate.substring(5,7))-1,    Number(fromDate.substring(8,10)));
  var time2:Date = new Date(Number(toDate.substr(0,4)),Number(toDate.substring(5,7))-1, Number(toDate.substring(8,10)));
  
  if(time1.getTime() &gt; time2.getTime())
  { 
      Alert.show(time1 + ” is after ” + time2); 
  }
  </code></pre>
  
  <p>im getting error: Error: Unexpected end of token stream</p>