PHP Code to Display Year

A new year is almost year and I’m getting reminded to update my websites with the copyright years at the bottom…you know the Copyright 2000-current year.

Instead of manually doing this ever year, I decided to put in a snippet of PHP code to cover all my bases.

Here’s the code:

<? print(Date(“Y”)); ?>

Enjoy! And Happy New Year!

Previous articleLine 6 M5
Next articleWeekly Calendar Template

Similar Articles



Please enter your comment!
Please enter your name here

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

Recent Posts


Most Popular

Super Mario Bros Wii – Mushroom Houses

I was wondering how to get all the matches in on the mushroom houses in Super Mario Bros Wii. Sure enough there are patterns...

Zipcode to City, State Excel Spreadsheet

I just decided to do this. I've been meaning to learn more about the vlookup function in Excel. I figured this one would be...

Community Service Letter Template

I’ve been asked on occasion by parents if their child can volunteer some hours in the non-profit organization I help out at. I guess...