diff --git a/src/Util.js b/src/Util.js index 5f5b155..f76667f 100644 --- a/src/Util.js +++ b/src/Util.js @@ -1,3 +1,4 @@ +const moment = require('moment'); const path = require('path'); const fs = require('fs'); const fetch = require('node-fetch'); @@ -127,6 +128,10 @@ class Util { return `${word}s`; } + static get date() { + return moment().format("YYYY-MM-DD hh:mm:ss"); + } + } module.exports = Util; \ No newline at end of file