If Date has passed then execute statement
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/492994/compare-dates-with-javascript">Compare dates with JavaScript</a>  </p>
</blockquote>



<p>I was wandering if anyone has a simple solution for executing a jquery statement if a supplied date has passed. </p>

<p>Basically I want to hide an image after a certain date has expired. If it could include a time as well as date that would be great.</p>

<p>Many thanks</p>
