JavaScript
Article

jQuery Get Current Year (Dynamic Footer/Copyright)

By Sam Deering

JavaScript code snippet to automatically insert the correct year into your footer (so you don’t have to update it ever again!).

Example: Copyright © 2011

Copyright ©
  • Ben Peeters

    This is not jQuery, plain JavaScript.

    It’s useful though!

    Ben

    • skylinejaya

      Ben, i feel familiar with ur name

  • jquery4u

    Good point Ben! Any ideas how we can spice it up abit with some jQuery?

  • http://sutekisushi.com suteki

    its working.. thanks mate

  • skylinajaya

    yes, i’m searching everywhere and this is most usefull and simple for me.. thanks

  • kiyone

    Perfection. Thank you.

Recommended
Sponsors
Because We Like You
Free Ebooks!

Grab SitePoint's top 10 web dev and design ebooks, completely free!

Get the latest in JavaScript, once a week, for free.