This page shows how you can easily display a copyright notice on your site
without ever needing to change the text manually.
The JavaScript accepts a single argument, which is the start year for the
range. If the current year is less than or equal to the start year, then
just the start year is displayed. Otherwise, the start year to the current
year range is displayed. Very simple, but it makes your copyright notice
perpetual! We use this in the footer of most of the sites which we
build.
- You can download the JavaScript for this demo
here.
- My blog post which introduces this demo is
here.