devxlogo

Dynamically Change the Year in Your Source Code

Dynamically Change the Year in Your Source Code

This little bit of code is great for doing stuff like “COPYRIGHT 1998?(present year).” It saves Webmasters from having to cull through their source code looking for the year (every year on January 1st) to change it manually.

Here’s an example:

© 1998 -  

devx-admin

Share the Post: