How do I use PHP to get the current year?

By | January 4, 2023

PHP Frameworks and WordPress Community,

It’s the new year.

Here is the footer code you’re looking for:

Last year (2022), it was saying:

© 2022 Community Hands, Inc.

This year, it will say:

© 2022-2023 Community Hands, Inc.

and forever stay updated with the current year.

If you know, you know.