title: add javascript datetime inside a html url
body: <p>For a cache issue, I want to send the current datetime with a url, but with the following code, the current timestamp isn't shown in the url..</p>
  
  <pre><code>&lt;script&gt;var d=new Date();&lt;/script&gt;
  &lt;li&gt;&lt;a href="/controllername?t="+d.getTime()+"&amp;name=.... // etc
  </code></pre>
  
  <p>How to add javascript datatime properly in the url?</p>