Home Forums PHP Auto Generated Copyright Year using PHP

Tagged: ,

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #669
    Usman Haider
    Keymaster

    While a webmaster is busy in developing and managing his website, he has to manually change the copyright year in the footer of his website every year. This is a task which can be assigned to PHP for doing automatically as soon as the new year starts. Here it is how to do it:

    Displaying Current Copyright Year Only:

    Displaying Start Year and Current Year:

     Displaying Error Free Start Year and Current Year:

    Hope it will save some of your time in coming years. 🙂

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.