Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Number.prototype.to2 = function() { return (this > 9 ? "" : "0")+this; };
- var d = new Date();
- var today = ''+d.getFullYear()+(d.getMonth()+1).to2()+d.getDate().to2()+d.getHours().to2();
- if (parseInt(today,10) >= 2012090403)
- {
- }
Add Comment
Please, Sign In to add comment