summaryrefslogtreecommitdiff
path: root/node_modules/locutus/php/datetime/time.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/locutus/php/datetime/time.js')
-rw-r--r--node_modules/locutus/php/datetime/time.js15
1 files changed, 0 insertions, 15 deletions
diff --git a/node_modules/locutus/php/datetime/time.js b/node_modules/locutus/php/datetime/time.js
deleted file mode 100644
index 0c53101..0000000
--- a/node_modules/locutus/php/datetime/time.js
+++ /dev/null
@@ -1,15 +0,0 @@
-"use strict";
-
-module.exports = function time() {
- // discuss at: http://locutus.io/php/time/
- // original by: GeekFG (http://geekfg.blogspot.com)
- // improved by: Kevin van Zonneveld (http://kvz.io)
- // improved by: metjay
- // improved by: HKM
- // example 1: var $timeStamp = time()
- // example 1: var $result = $timeStamp > 1000000000 && $timeStamp < 2000000000
- // returns 1: true
-
- return Math.floor(new Date().getTime() / 1000);
-};
-//# sourceMappingURL=time.js.map \ No newline at end of file