Home Uncategorized Inline Javascript add year to Copyright

Inline Javascript add year to Copyright

1652
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());

Previous articleExcel pasted in the wrong dates copy/paste
Next articleiFrames for websites

LEAVE A REPLY

Please enter your comment!
Please enter your name here