adding microtime

10.3.x-maintenance
cTn 2013-11-13 09:49:03 +01:00
parent cf4151c3a2
commit a4c6455739
1 changed files with 6 additions and 0 deletions

View File

@ -88,4 +88,10 @@ function notify(message, color) {
$(this).remove();
});
}
function microtime() {
var now = new Date().getTime() / 1000;
return now;
}