/ Published in: JavaScript
returns the number of seconds since 1 jan 1970
This is useful for generating a number in a url to stop a page from caching
This is useful for generating a number in a url to stop a page from caching
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
var cacheBreak = Math.round(new Date().getTime()/1000.0);
URL: http://www.epochconverter.com/