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());
Transitions: 197 | Added by: cMerlin | Rating: 0.0/0 | Tags: Year
Total comments: 0
Name *:
Email *:
Code *:
sendme