/ Published in: JavaScript
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function time() { return Math.floor((new Date).getTime() / 1E3) } // returns 1317660968 //just like php do