Skip to content

Automatic Copyright Year Update with PHP & JavaScript?

Last updated on January 17, 2018

This post is about Automatic Copyright Year Update, Almost nowadays most of the website include a copyright declaimer a the bottom of the page in the footer section. We can automatically update copyright year to the current year.

Updating Copyright year in a PHP really simple. Just add below code in your application

Copyright ©2010- . All rights reserved.
//output:Copyright ©2010-2012. All rights reserved.

Automatic Copyright Year Update With JavaScript

Updating Copyright year in a JavaScript also really simple. Just add below code in your application

Copyright © 2010 - . All rights reserved.

//output:Copyright ©2010-2012. All rights reserved.
0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Most Voted
Newest Oldest
Inline Feedbacks
View all comments