Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/full-stack-web-developer-and-designer/php-copyright

PHP function for display a copyright years in the footer.
https://github.com/full-stack-web-developer-and-designer/php-copyright

copyright mirnesglamocic php phpfunction

Last synced: about 19 hours ago
JSON representation

PHP function for display a copyright years in the footer.

Awesome Lists containing this project

README

        

# PHP function for copyright years
This repository contain a custom **PHP function** to display a *copyright years*. When a website is new the copyright notice will display the copyright symbol and only the current year, but each time the january wills allong it will display a range of years indicating both the start year and the current year.

With PHP function for date the start year will display 4 digit number and the current year will display only last twoo digit number of year.

---
![PREVIEW](copyright_1Year.png "Footer with PHP function for display only the current year")

![PREVIEW](copyright_2Years.png "Footer with PHP function for display a range of years")

---
Download the files as a zip using the green button, or clone the repository to your machine using Git.