title: compare sql date to javascript date
body: <p>Is there an easy way to compare a sql dateTime to a javascript date time so that the two can be compared easily?</p>
  
  <p>Are there built in javascript functions as I cant edit the sql</p>