Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var path = require("path");
- global.GLOBAL_PATH = path.resolve(__dirname);
- global.GLOBAL_CONFIG = require("config");
- global.LIBRARY = require(`${GLOBAL_PATH}/helper/library`);
- let currentTime = new Date().toLocaleString('id-Id', {
- timeZone: 'Asia/Jakarta'
- });
- let { trxTime } = LIBRARY.function.createStringDateFormat(currentTime);
- //Connect TO Jabber Server
- LIBRARY.function.connectXmpp();
- LIBRARY.function.getChat(trxTime);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement