If your server is Apache, you could, for example, put the following element into your HTML page to output a current date 1 day: I recommend XDate because it will save a lot of typing.Also, please don't use inner HTML, it's such a bad habit.I have a question: When countdown date/ time 1 expires, I would like it to go to the 2nd date. When date/ time expires, I would like it to countdown to the END of that season: Date 2: January 3th 2016 pm.
In the page I add the tag and put in some default info just because: NB: I do use inner HTML to quickly obliterate nested tags rather than a recursive "delete all children" because that's in a different library and not pertinent to this example. T/Then you can add for example a span tag in your text, and insert the date with javascript.
Automatic update of copyright year would be a real smart thing to do for any website since its such a trivial thing many developer may not remember to update it manually every year.
On a web page you can easily do javascript copyright year update.
This short little tutorial will show you how to keep your copyright dates up-to-date using either PHP or Javascript.
I've also included a handy little tool that will generate a copyright notice, that with the magic of Javascript, will automatically update when the year changes!