Full Stack LAMP - MEAN Developer, Python developer. Certified Azure Developer. Freelance programmer/consultant/trainer.

Automatic Copyright Year Update with PHP & JavaScript?

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.

I hope you like this Post, Please feel free to comment below, your suggestion and problems if you face - we are here to solve your problems.

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments