Toggle navigation
Seva Tsurikov
portfolio
toolbox
resumé
contact
Advanced Toolbox for Web Developers
Main
»
Site Catalog
»
jQ/jS
Display current year. JavaScript
http://codepen.io/anon/pen/gceFA
31.10.2012, 01:29
Just a few lines of codes takes a headache of changing "Copyright %CompanyName% %year%" for simple sites/pages that are not using CMS.
var d = new Date();document.write(d.getFullYear());
1
2
3
4
5
Transitions:
564
| Added by:
cMerlin
| Rating:
0.0
/
0
| Tags:
Year
Total comments:
0
Name *:
Email *:
Code *:
sendme