diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -20,7 +20,7 @@
   ];
 
   module.exports = function (date, useAgo) {
-    var diff = (((new Date.getTime()) - date.getTime()) / 1000);
+    var diff = ((Date.now() - +date) / 1000);
     for( var i=0; i<formatters.length; i++ ){
       if( diff < formatters[i].threshold ){
         return formatters[i].handler(diff, useAgo);
use +date to convert date into timestamp - but also works if timestamp was passed in