xkid83

Shortest way to print current year in Javascript

Jan 6th, 2015
193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. document.write(new Date().getFullYear())
Advertisement
Add Comment
Please, Sign In to add comment