February 5

Automatically Change Footer Year

Many websites and clients want to have a copyright notice at the bottom of the web page. Usually this includes a year of copyright. Trouble is, sometimes you forget to update this every year. Why not let the computers do it for you. This Javascript code can be used anywhere on HTML pages, WordPress or any CMS.

<script type="text/javascript">
var d = new Date()
document.write(d.getFullYear())
</script>

Tags


You may also like

Force cPanel Password Reset

Force cPanel Password Reset
{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}

Get in touch

Name*
Email*
Message
0 of 350