diff --git a/main.js b/main.js index 6a4a1994..7c9c179d 100644 --- a/main.js +++ b/main.js @@ -88,4 +88,10 @@ function notify(message, color) { $(this).remove(); }); +} + +function microtime() { + var now = new Date().getTime() / 1000; + + return now; } \ No newline at end of file