How To Automatically Update Footer Year?

How To Automatically Update Footer Year?

Here are some sample codes:

Simple:

<p>Copyright &copy; <script>document.write(new Date().getFullYear())</script> Kerstin Martin All Rights Reserved</p>

Date range:

<p> Copyright &copy; 2014-<script>document.write(new Date().getFullYear())</script> Kerstin Martin All Rights Reserved</p>

Center copyright notice:

<p style="text-align: center"> Copyright &copy; 2014-<script>document.write(new Date().getFullYear())</script> Kerstin Martin All Rights Reserved</p>

Leave a Reply

Your email address will not be published. Required fields are marked *