SHARE
TWEET

Untitled

a guest Aug 20th, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function(){
  2.   var now = new Date();
  3.   return now.getMonth() + 1;
  4. }
  5.      
  6. function(){
  7.   var now = new Date();
  8.   var y = now.getFullyear();
  9.   var m = now.getMonth()+1;
  10.   m = (m<10 ? '0' : '') + m;
  11.   var d = '01';
  12.   return y + '-' + m + '-' + d;
  13. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top