Automatic Copyright Year update code
Trying to locate code to update the copyright year on web sites
I am trying to locate code that will automatically update the Copyright year to be whatever the current year is so that I won't have to change it every January on the several web sites that I maintain. I have Dreamweaver 8....anyone know of one? I tried Kaos code but it never worked.
Thanks in advance....
Comments
Answer
ASP coding for Year
ASP coding for Year
2005<% If DatePart("yyyy", date()) <> 2005 Then %> - <% =year(now) %><% End If %>
This way your copyright is always up to date, including when you first started, rather then just the current date
comps
You must me logged in to write a comment.