title: How to generate hash from timestamp?
body: <p>I must generate unique hash - maybe from timestamp. hash must have max 8 chars. How to do it?</p>
  
  <p>For now I have only timestamp:</p>
  
  <pre><code>var t = new Date().getTime();
  </code></pre>