Guest User

Untitled

a guest
Dec 12th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. Number.prototype.to2 = function() { return (this > 9 ? "" : "0")+this; };
  2. var d = new Date();
  3. var today = ''+d.getFullYear()+(d.getMonth()+1).to2()+d.getDate().to2()+d.getHours().to2();
  4.  
  5. if (parseInt(today,10) >= 2012090403)
  6. {
  7.  
  8. }
Add Comment
Please, Sign In to add comment