title: Time conversion between ruby on rails and javascript vice versa?
body: <p>How to convert ruby time to javascript time and vice versa?</p>
  
  <p>Ruby on rails : </p>
  
  <pre><code> Time.now
  </code></pre>
  
  <p>Javascript :</p>
  
  <pre><code> new Date()
  </code></pre>