title: how to get current time and then compare them using jquery
body: <p>this is my code:</p>
  
  <pre><code>    var currentTime = new Date()
  var month = currentTime.getMonth() + 1
  var day = currentTime.getDate()
  var year = currentTime.getFullYear()
  var hours = currentTime.getHours()
  var minutes = currentTime.getMinutes()
  
  alert(minutes+"/"+hours+"/"+month + "/" + day + "/" + year)
  </code></pre>
  
  <p>but , i think it hard to compare with two time ,</p>
  
  <p>what can i do  ?</p>
  
  <p>thanks</p>