exposure.js 414 B

123456789101112131415
  1. var site='http://admin.zbo458v5.top'; //站点域名
  2. var schedule = require("node-schedule");
  3. var request = require('request');
  4. function FormatNowDate(){
  5. var mDate = new Date();
  6. var Y = mDate.getFullYear();
  7. var M = mDate.getMonth()+1;
  8. var D = mDate.getDate();
  9. var H = mDate.getHours();
  10. var i = mDate.getMinutes();
  11. var s = mDate.getSeconds();
  12. return Y +'-' + M + '-' + D + ' ' + H + ':' + i + ':' + s;
  13. }