title: How to create a timestamp from date and time
body: <p>i have a datepicker and some time slots in my view. the time slots are checkboxes and the value of checkbox should be a timestamp which i aim to get by combining the value from datepicker and the checkbox slot that was checked by the user. Is there any way to do this using javascript of jquery.</p>
  
  <p>Example:</p>
  
  <pre><code>$('#inline_datepicker').datepicker("getDate") + "02:30PM" =&gt; create timestamp
  </code></pre>