Copyright Demo Page

I added a new demo page to the Sympraxis Consulting site yesterday.  It’s such a simple thing that it’s almost not worth mentioning.  However, when you can do something today that means you don’t have to do work tomorrow, why not make the effort?

I’ve posted on this idea before, but just to reiterate, the demo shows the output of a simple JavaScript script which outputs the year information for a copyright notice.  By passing in the start year (presumably the year you first put up your site), you’ll never have to think about it again; the copyright notice will always be current.

Here’s the script.  Check out the demo and let me know what you think!

// copyrightYear: Display a copyright year range.
// Arguments:
//  fieldName: startYear
//

Similar Posts

One Comment

  1. Marc – I use this one as well, a bit shorter, but, does the same thing:

    © 2008-var d = new Date();document.write(d.getFullYear()); Joe's Auto Shop
    

    Beats updating a lot of sites each year :)

Leave a Reply to Geoff Varosky Cancel reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.