Copyright date

Displaying the copyright year dynamically on a static page.

1
2
var strFooter = 'TM ® & © ' + new Date().getFullYear() + ' All Rights Reserved.';
document.writeln(strFooter);
Share