Ben Collier

Mobile Specialist

Main menu

Skip to primary content
Skip to secondary content
  • About
  • Contact

Post navigation

← Previous Next →

Dynamically Update Copyright Year with PHP

Posted on 03/08/2010 by Ben Collier

Here’s a little php code snippet to make sure the copyright year in your site footer is always up to date:

Copyright - 

Now this will auto update your page with the current year 😉

  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on X (Opens in new window) X
This entry was posted in Articles and tagged copyright, date, php by Ben Collier. Bookmark the permalink.

Sometimes Popular

  • Disabling 'hold to copy' on Mobile Safari
  • .plist (Property List) File Mime Type
  • Show / Reveal Password Bookmarklet
  • Bots please: Slack needs a news feed
Big Sky Games
Proudly powered by WordPress