Adding a Dynamic Year to the Copyright Notice in the Footer Area
Article Number: 172 | Rating: Unrated | Last Updated: Fri, Apr 29, 2016 at 9:25 AM
Purpose:
To include a dynamic year in the copyright notice in the footer area of your website so you don't have to remember to update this notice every year.
Solution:
Select
System
(horizontal top menu) /
Configuration.
Go to the
General
section, and then click on the
Design
tab.
Expand the
HTML Head
panel.
Copy and paste the following in the
Miscellaneous Scripts
field:
<!-- DYNAMIC COPYRIGHT YEAR IN FOOTER -->
<script language="javascript" type="text/javascript"> var dateObject=new Date(); </script>