diff --git a/index.html b/index.html index a7040d7..cdab18b 100644 --- a/index.html +++ b/index.html @@ -572,6 +572,7 @@ dogapi.client.request("GET", "/url/path", {}, function(err,

dogapi

initialize(options)

@@ -601,6 +602,19 @@ dogapi.event.create(...);
+
+

now()

+
+

get the current POSIX timestamp

+
+
+
var dogapi = require("dogapi");
+dogapi.now();
+// this is the same as
+parseInt(new Date().getTime() / 1000);
+
+
+
Fork me on GitHub