Posted By

kutyadog on 09/24/12


javascript time random timestamp

Versions (?)

Javascript using time to make GET POST calls no cache / random

 / Published in: JavaScript


Simple code example that allows you to pull a time stamp / timestamp to attach to end of URL for GET POST calls

  1. var currentTime = new Date();
  2. var n = currentTime.getTime();
  3. postUrl = ""+n;

Report this snippet  

You need to login to post a comment.