Home Uncategorized Inline Javascript add year to Copyright

Inline Javascript add year to Copyright

983
0

codeHere is a little snippet I put together for those of you looking to automate adding the current year to your website’s copyright statement, privacy statement or terms and conditions.

document.write( new Date().getFullYear().toString());

LEAVE A REPLY

Please enter your comment!
Please enter your name here